Is your team doing behavior-driven development but having issues realizing the full potential of this approach? In this episode Gaspar Nagy, creator of Specflow and co-author of the book Discovery: Explore Behavior Using Examples, discusses why BDD exists in the first place and shares proven techniques and tips for getting the most out of your BDD collaboration between the business and your delivery team members.
197: Discovery Explore Behavior Using Examples with Gaspar Nagy
with Gaspar Nagy
creator and the main contributor · SpecFlow
About this episode
Quotes & Insights from this Test Talk
- BDD does not replace classic testing and testing skills. In fact, BDD itself does not define how testing should be performed. Instead, it provides a set of practical guidelines that facilitate the agile testing process.
- BDD is an agile approach that consists of three practices that have to be addressed in order. The first practice is discovery, a structured, collaborative activity that uses concrete examples to uncover the ambiguities and misunderstandings that traditionally derail software projects. The second practice is formulation, a creative process that turns the concrete examples produced during discovery into business-readable scenarios. The subsequent review of the scenarios delivers the confidence that the team really has understood what the business is asking for. The third, and final, practice is automation where the code is written that turns the scenarios into tests.
- Developing software is a process of learning. I’ve never met a team that, after they deliver some working software, say “if we were to do that again, we’d do it exactly the same way.” That’s because, in the course of developing the software, they discover things that they didn’t know at the beginning.
- You might have seen the term Specification by Example and assumed that this meant examples were sufficient to specify software. The intent, however, is to emphasize the use of examples to support a specification by making it harder for the rules to be misinterpreted.
- Without the business involved in BDD, unless the team is very business-focused and disciplined, the scenarios become technical, data-driven and dry. This means that the business get very little value from reading the scenarios and, consequently, won’t understand the implication of a failing scenario. This removes the possibility that
the scenarios will provide a constructive feedback loop between the business and delivery team – so the scenarios become an overhead. - BDD depends on collaboration!
Resources
Connect with Gáspár Nagy
- Twitter: @gasparnagy
- Blog: gasparnagy.com
- YouTube: Spec Solutions
- LinkedIn: gasparnagy
- Company: Specsolutions
May I Ask You For a Favor?
Thanks again for listening to the show. If it has helped you in any way, shape or form, please share it using the social media buttons you see on the page.
Additionally, reviews for the podcast on iTunes are extremely helpful and greatly appreciated! They do matter in the rankings of the show and I read each and every one of them.

Test Talks is sponsored by the fantastic folks at Sauce Labs. Try it for free today!
Keep listening
Related episodes

Automation Testing Podcast · Ep. 612
Robot Framework Test Automation: Automate Web, Desktop, Mobile, and Embedded Systems
What makes Robot Framework flexible enough to test medical devices, low code bots, monitoring systems, and embedded
Nov 17

Automation Testing Podcast · Ep. 611
Playwright at Scale: Run 500 Tests in Minutes with Oliver Stenbom
with Oliver Stenbom
Is your Playwright suite slowing you down instead of speeding you up? In this episode, Oliver Stenbom,
Nov 10

Automation Testing Podcast · Ep. 610
How to Prove Your Release Is Ready When AI Writes the Code
How to Prove Your Release Is Ready When AI Writes the Code? Can you prove your software is ready to ship, or does that answer still depend on a meeting and a spreadsheet? Want to see if your team can prove a release is ready? Book a custom LoopIQ demo with Ashwin: https://testgld.link/loopiqdemo In this episode,
Nov 3

Automation Testing Podcast · Ep. 609
Why Your AI Tests Pass When Your Features Fail with Donovan Brady
with Donovan Brady
Why Your AI Tests Pass When Your Features Fail? Donovan Brady of Leapwork shows how to make
Oct 27