The monthly dose for BDD addicts… In October #bdd, #specflow and #cucumber stories from Nicolas Fränkel, Marcus Hammarberg, Chris Parsons, Alister Scott & Gaspar Nagy.
BDD (Behavior-driven development) is a software development process focusing on active collaboration, which illustrates and automates the requirements using key examples of the problem domain. In BDD, the formalized examples use a natural language-based DSL driven by the Given/When/Then keywords.
At the same time, property-based testing (PBT) uses abstract formulas to declare expectations for the output values given some constraints on the input. The PBT tools try to disproof that the application fulfills these requirements by taking samples from the valid input value space.
The experience shows that for understanding and properly implementing the requirements, the team has to understand the requirements as a set of abstract rules, where collecting key examples can help a lot.
In this article, with the related open-source SpecFlow plugin, I would like to invite you for an experiment to use property-based testing in a BDD project for automating and formalizing business rules.
The monthly dose for BDD addicts… In September #bdd, #specflow and #cucumber stories from Gojko Adzic, Anna Dolatowska, Steve Baker, Jim Holmes & Dirk Rombauts.
The monthly dose for BDD addicts… In August #bdd, #specflow and #cucumber stories from Eugen (Baeldung), The Cucumber team, Chris Parsons, John Ferguson Smart & Gaspar Nagy.
SpecFlow creates and disposes the instances of your step definition classes automatically. It also allows injecting dependencies to these classes through a feature called context injection. This article shows how this injection can be configured to use the popular Autofac dependency injection framework. [read more…]