SpecFlow Tips: Baseclass or Context Injection
by Gáspár on February 3, 2017
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.
Property-based BDD Examples with SpecFlow and FsCheck
by Gáspár on November 2, 2016
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 […]
SpecFlow tips: Customizing dependency injection with Autofac
by Gáspár on August 18, 2016
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.
BDD Addict Newsletter June 2016
by Gáspár on July 6, 2016
The monthly dose for BDD addicts… In June #bdd, #specflow and #cucumber stories from Gojko Adzic, Kent Beck, Håkan Forss, Michael Whelan & Gaspar Nagy.