O'Reilly logo

Writing Great Specifications: Using Specification by Example and Gherkin by Kamil Nicieja

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Choosing examples for scenario outlines

This chapter covers

  • Writing advanced scenario outlines
  • Using the outside-in method
  • Going beyond the simplest examples
  • Testing diverse outcomes
  • Fixing bad examples

Did you know that female drivers are 47% more likely than male drivers to be seriously injured in a car crash? When safety regulations were originally imposed on automakers in the 1960s, the government wanted to require the use of two crash test dummies of two slightly different sizes. Doing so would mean that only 5% of men were larger than and 5% of women were smaller than the dummies. But automakers pushed back, and, eventually, the requirement was reduced to only one crash test dummy the size of an average male, making ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required