A lot of people use Behavior Driven Development in regulated development environments, like medical or other safety-critical projects. In recent months, I’ve participated in a few deeper discussions regarding topic that I ‘ve found pretty interesting. My goal is to learn more about projects using BDD under such circumstances and share my experiences with others. [read more…]
The monthly dose for BDD addicts… In February #bdd, #specflow and #cucumber stories from Kent Back, Martin Fowler, David Heinemeier Hansson, Bertil Muth, Steve Tooke, Matt Wynne & me.
According to the principles of Behavior Driven Development (BDD), we discuss examples and write them down as Gherkin scenarios. These scenarios can be turned into automated tests by BDD tools like Cucumber or SpecFlow, so that the implementation can be “driven” by them. So it is like TDD. But if it is like TDD, there arises the question whether we also need unit tests and classic unit-level-TDD as well in addition to our scenarios. This is a complex question and it is not easy to give a simple constructive answer for it. In this post, I am taking a concrete example to show how this can be imagined.[read more…]
We need to access different services and data from multiple step definition classes. Shall we use base classes or context injection for that? — This question has popped up at two of my clients, so I thought it would be worth discussing it also in a blog post.