BDD Addict Newsletter June-July 2018

Source: unsplash.com (by J.Kelly Brito)

[BDD] Example mapping: the very first

Starting something new is never easy. If it is related to development process, then it is even harder. Many BDD practitioners have discovered that discussing illustrative examples and formulating them to Given-When-Then scenarios at the same time with the same set of people is not necessarily the best. It is better to focus on finding (or better: discovering) the illustrative examples first. For this purpose, a useful technique is called “Example Mapping” (described by Matt Wynne first, we also discuss it in detail in our “Discovery” book). Steve Tooke collected a set of useful steps to get started with example mapping…

Your first Example Mapping session (Steve Tooke, @tooky)

[Testing] Zero bug is not bug free

Teams waste a lot of time and effort for dealing (or not dealing) with bugs. It is obvious that every bug that has been found has to be handled somehow, but in many cases the way you handle it might have a significant implication of the “cost” of the bug. Sam Hatoum summarizes the zero-bug strategy and how he applied it to a project at BBC.

Zero-Bug Software Development (Sam Hatoum, @sam_hatoum)

Source: unsplash.com (by Nowshad Arefin)

The BDD Books: DISCOVERY

Explore behaviour using examples

[Learn:Cucumber JVM] Transform Data Tables with Cucumber JVM 3

A massive amount of data makes the scenarios unreadable and unmaintainable. But even with smaller data sets the automation code can get messy, if you directly access the data table rows and cells from all across your code. The data table transformation helpers can improve the code readability and maintainability. Thomas Sundberg shows which options we have for this in Cucumber JVM 3 (Java)..

Data tables in Cucumber 3 (Thomas Sundberg, @thomassundberg)

[Learn:Cucumber JVM] Drive REST API with Rest-Assured

Testing a REST Wep API might sound complicated, because there are so many things to take care of: HTTP methods, response codes, serializing/deserializing message body, headers, authentication, cookies, https, … A good framework can be very helpful. Angie Jones introduces us to Rest-Assured, a Java framework for REST API testing.

Rest-Assured with Cucumber: Using BDD for Web Services Automation(Angie Jones, @techgirl1908)

BDD with SpecFlow for Devs & Testers

autumn course with Gáspár Nagy

[Testing] Tests with configurable behavior

Feature toggles are a very simple concept for changing the application behavior depending on some setting, like for A/B testing, canary releases or just as an easy rollback strategy. Such dynamic behavior can also be useful for testing, especially for end-to-end tests. Alister Scott talks about when and how feature toggles should be added to test code.

Feature Toggles for Automated e2e Tests (Alister Scott, @watirmelon)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gáspár Nagy

Gáspár Nagy

creator of SpecFlow, coach, trainer, BDD addict