Given When Then Best Practices: Make Scenarios Interesting

Given-When-Then structure can become repetitive, especially for complex scenarios, and this can cause readers to skip or ignore parts. Instead of a new challenge, this week I’ll give you some nice tricks to make feature files less monotonous, to keep reader interest and help them pay attention. Use bullet points for groups of steps For… Continue reading Given When Then Best Practices: Make Scenarios Interesting
Published
Categorised as Gherkin

Behavior Driven Development – From End-User to Unit Tests

In a previous article, I introduced the Testing Matrix. In this article, we’ll see how Behavior Driven Development / Acceptance Test Driven Development (BDD/ATDD) can apply all the way from the Customer / User Tests to Unit Tests. These are the tests in the left column of the matrix. To illustrate this process, I’ll use the… Continue reading Behavior Driven Development – From End-User to Unit Tests
Published
Categorised as BDD

How to keep your pipelines healthy with a Gherkin first approach

Using BDD in our last project, we were eager to have our scenarios formulated before implementation starts (or at least write them in parallel to development) – all in the spirit of Test First. Now the difference to a TDD approach is, that we didn’t write one Scenario at a time, then implemented this behavior,… Continue reading How to keep your pipelines healthy with a Gherkin first approach
Published
Categorised as Gherkin

Can BDD be combined with ATDD?

Despite both practices have been around for years now, there’s still a lot of confusion out there about Behavior Driven Development (BDD) and Acceptance Test Driven Development (ATDD). They are distinctly different practices, each with its own different goals, yet many people see them as one and the same. Mostly, this is caused by the… Continue reading Can BDD be combined with ATDD?
Published
Categorised as BDD

BDD and The Testing Matrix

The tests you create using Behavior Driven Development represent only a portion of the tests for a system.  There are a number of other tests that should be executed in order to ensure that the system reflects quality.        The Testing Matrix below shows the various forms of tests for a system. It was originally created… Continue reading BDD and The Testing Matrix
Published
Categorised as BDD

Avoid tedious test case documents through comprehensible living documentation

In one of my recent projects the customer asked for a test case specification. After further inquiry, we learned that what they actually wanted was documentation of the systems latest agreed upon behavior, to help them with their acceptance tests for implementation sign-off. After a quick demo of SpecFlow+ Living Documentation rendered in Azure Devops… Continue reading Avoid tedious test case documents through comprehensible living documentation

TDD, BDD, ATDD, Acceptance Tests, Unit Tests – What’s the Relationship

A recent blog by Gojko Adzic asked for “How to choose between BDD and unit tests?”.  A recent blog of mine talked about the testing matrix, which also deals with the relationship between the processes and the tests. An equivalent question has been asked many times during the workshops I give. The answer is that it’s like… Continue reading TDD, BDD, ATDD, Acceptance Tests, Unit Tests – What’s the Relationship
Published
Categorised as BDD

How to avert writing tedious test case documents through comprehensible Living Documentation

  In this two-piece blog article, I share my experiences using Living Documentation as basis for customer acceptance tests for implementation sign-off. In this two-piece blog article, I share my experiences using Living Documentation as basis for customer acceptance tests for implementation sign-off. What we did to achieve a comprehensible Living Documentation Have a clear… Continue reading How to avert writing tedious test case documents through comprehensible Living Documentation
Published
Categorised as BDD

Test multiple browsers at once with SpecFlow+ 3

(Note: This article was written for SpecFlow+ Runner 1.8 and SpecFlow 2) If you are testing a web app (e.g. with Selenium), you will normally want to test it in a range of browsers, e.g. Chrome, IE/Edge and Firefox. However, writing tests for all the browsers can be a time-consuming process. Wouldn’t it be much… Continue reading Test multiple browsers at once with SpecFlow+ 3

Featured post

Published
Categorised as BDD Tagged

5 reasons that will convince your team to adopt BDD

Having worked as an independent consultant and trainer for almost 15 years now, I’ve seen a lot of teams and organizations considering adopting Behaviour Driven Development (BDD) as a way to improve their software development and delivery processes. Sometimes, this worked out really well, for others, it was a bit more of a struggle, while… Continue reading 5 reasons that will convince your team to adopt BDD
Published
Categorised as BDD