Software Testing Unleashed - Better Teams. Better Software. Better World.

BDD: Stop Writing Specs. Start Giving Examples. - Gáspár Nagy


Listen Later

Why Examples Matter: Rethinking Requirements

Bonus Tipp: Never miss a crucial test again

"If you have a good understanding of the requirements, you can write better test cases, tests for that the developers might be able to make it immediately the right way and they don't need to do so much rework." - Gáspár Nagy

In this episode, I talk with Gáspár Nagy about behavior driven development. We look at why a simple example can beat a specification. You do not learn soccer from a rulebook. You learn by playing and watching plays. BDD uses the same trick to build understanding early. We discuss example mapping, writing readable scenarios, and turning them into executable specs with Cucumber, SpecFlow, and Reqnroll. Done well, this guides vertical slices, shows progress, and stops the mini waterfall at the end of a sprint.

Gáspár Nagy, the creator of SpecFlow & Reqnroll, bringing over 20 years of experience as a coach, trainer and test automation expert nowadays through his company, called Spec Solutions. He is the co-author of the books "Discovery: Explore behaviour using examples" and "Formulation: Document examples with Given/When/Then" and also leads SpecSync, aiding teams in test traceability with Azure DevOps and Jira. He is active in the open-source community through leading the Reqnroll project. Gáspár shares his insights at conferences, emphasizing his commitment to helping teams implement Behavior-Driven Development (BDD).

Highlights:

  • Simple examples communicate requirements better than large specifications
  • Example mapping structures conversations and uncovers rules early
  • Readable scenarios turn into executable specifications with Cucumber or SpecFlow
  • BDD guides vertical slices and makes progress visible
  • BDD prevents the mini waterfall at the end of a sprint
  • ...more
    View all episodesView all episodes
    Download on the App Store

    Software Testing Unleashed - Better Teams. Better Software. Better World.By Richard Seidl | Software Development & Testing Expert