The monthly dose for BDD addicts… In August #bdd, #specflow and #cucumber stories by Jeffrey Davidson, Paul Hammant, Ryan Thomas Hewitt, Eugen Paraschiv, Roy Williams & Vitalik Zaidman.
Dear BDD Addicts,
The school year has just started, but for me learning started already in August. The Agile 2017 conference in Orlando was a great experience. I learned a lot about book writing as we finalized our first bdd book (see below) and I also spent more than a week just reading tutorials, watching online demos and trying the things out. It was great!
This newsletter is shared every month to help you to learn and teach BDD, test automation, Cucumber, SpecFlow and everything related. You can help others by sending me a link of an interesting blog post or video to email@example.com so that I can share it in one of the next issues.
Happy learning! Here is the monthly dose…
[Process] Start with simpler, language-only, non-data BDD
The Gherkin scenarios provide the documentation of the illustrative examples you have collected for the sake of a better understanding of the requirements. This is a living documentation, so you will always be able to see if the application behaves as you have expected. But in order to be really valuable, they have to be formulated in a business readable way. In their post, Paul Hammant and Jeffrey Davidson give hints about this. They show the process through a concrete example and they talk about writing styles, glossaries and data-centric scenarios.
BDD Acceptance Criteria Pay For Themselves Multiple Times (Paul Hammant, @paul_hammant; Jeffrey Davidson, @JeffreyGoodReq)
[Test Automation] The illusion of well tested
Focusing too much on code coverage metrics is dangerous — many people know this already. But testing what you have done instead of testing what you should have done is probably even more dangerous. BDD helps you to focus on behavior, so it makes a better separation of goals and the solution. Although BDD is not even mentioned in the post by Roy Williams, if you read it through, you will immediately see how well it fits.
Tautology Tests (Roy Williams, Roy on FB)
Comic by xkcd, https://xkcd.com/703/
[Process] Gherkin: how to teach your BA
It is not too common for business analysts to write BDD posts. But who would be a better source to talk about BDD for a BA if not a BA itself? Ryan Thomas Hewitt focuses on Gherkin and provides a brief introduction to Gherkin format and to writing Gherkin scenarios. My favorite part is the Gherkin quiz at the end. Read and share it with your BAs.
Gherkin for Business Analysts (Ryan Thomas Hewitt, @rthewitt01)
[Learn:Cucumber-JVM] Automate REST API
This guide from Eugen Paraschiv shows how to get started with REST API testing using Cucumber-JVM in Java. It shows how to setup the project and dependencies and also how to automate a business readable scenario.
REST API Testing with Cucumber (Eugen Paraschiv, @baeldung)