Agile2017 has ended
Tuesday, August 8 • 3:45pm - 5:00pm
Writing better BDD scenarios (Seb Rose, Gaspar Nagy)

Sign up or log in to save this to your schedule, view media, leave feedback and see who's attending!

Limited Capacity seats available

Behaviour Driven Development is an agile development technique that improves collaboration between technical and non-­technical members of the team, by exploring the problem using examples. These examples then get turned into executable specifications, often called ‘scenarios’. The scenarios should be easy to read by all team members, but writing them expressively is harder than it looks!
In this 75 minute workshop you will learn how to write expressive BDD scenarios. We’ll start by giving you a very brief introduction to BDD/ATDD. You’ll then be introduced to different writing styles by reviewing pre­prepared scenarios. Finally, you’ll get a chance to write your own scenarios based on examples that we’ll bring along.
We’ll be using Gherkin, the syntax used by Cucumber and SpecFlow ­ but you won’t need a computer. And, you'll leave with a checklist of tips that you can use the next time you sit down to write a scenario.

Learning Outcomes:
  • - Identify common Gherkin pitfalls
  • - Write compact, readable living documentation
  • - Enumerate 5 tips/hints for writing good scenarios
  • - Explain the difference between essential and incidental details
  • - Describe how precise, concrete examples illustrate concise, abstract rules/requirements/acceptance criteria
  • - Use the Test Automation Pyramid and Iceberg to convince colleagues to mention the UI less in scenarios


avatar for Gaspar Nagy

Gaspar Nagy

coach, trainer and BDD addict, Spec Solutions
I am the creator and main contributor of SpecFlow, regular conference speaker, blogger (http://gasparnagy.com), editor of the BDD Addict monthly newsletter (http://bddaddict.com), and co-author of the book "BDD Books: Discovery - Explore behaviour using Examples" (http://bddbooks.com... Read More →
avatar for Seb Rose

Seb Rose

Director, Cucumber Limited
I have been involved in the full development lifecycle with experience that ranges from Architecture to Support, from BASIC to Ruby. I'm a partner in Cucumber Limited, who help teams adopt and refine their agile practices, with a particular focus on collaboration, BDD and automated... Read More →

Tuesday August 8, 2017 3:45pm - 5:00pm EDT