STAREAST 2022 Concurrent Session : Overcoming Gherkin Anti-patterns for Manageable, Durable, and Valuable Test Code

SEE PRICING & PACKAGES

Wednesday, April 27, 2022 - 2:45pm to 3:45pm

Overcoming Gherkin Anti-patterns for Manageable, Durable, and Valuable Test Code

Gherkin holds the promise of being an easy to implement and easy to understand tool for getting teams to be Test Driven. And it should be. But in our experience working with and coaching many teams, we have found significant differences between theory and practice. Too often, Gherkin scenarios result in test code that is difficult to understand, difficult to maintain, and not valuable. We will go over the following anti-patterns and discuss strategies to overcome them:

  • Scenarios that focus on UI implementation rather than expected behavior
  • Scenarios that are too long and too complex
  • Misunderstanding of the Gherkin keywords
  • Not treating test code with the same level of rigor and discipline you would the rest of your code

Finally, we will discuss a method for determining the relative priorities of writing certain types of tests to determine if they deliver their expected value. After this session, you will be able to go back to your teams with some practical lessons for refactoring your test code so that it is manageable, durable, and valuable.

LitheSpeed

George Lively has over twenty years of experience in Agile. He began with Extreme Programming (XP), using Agile Engineering practices like Test Driven Development. He has been a practitioner, coach, and trainer, working in small, medium, and large organizations in a variety of industries. For the last three years George has been a Senior Agile Coach at LitheSpeed. His day-to-day work with actual teams continues to inform his real world approach to solving big testing problems. Professional certifications: SPC 5, CSM Enabled to teach ICP-TST and a variety of SAFe classes, including SAFe DevOps.

Raj Indugula
LitheSpeed

Introduced to agile methods via Extreme Programming in 2003, Raj Indugula is a Principal Coach at LitheSpeed with over 17 years of hands-on experience with the pragmatic application of agile methods and XP-inspired code quality practices, and coaching teams on the adoption of Lean-Agile-DevOps practices. He has helped develop all roles, from executive leadership to engineering teams, in lean software development, process frameworks, product ownership, and agile engineering and testing practices. His passion is helping organizations improve their software delivery game by working alongside teams and individuals within the context of their work. He is also a certified and accredited trainer for Scaled Agile Academy, Scrum Alliance, and ICAgile across a wide spectrum of agile process and technical courses.