The Retirement of SpecFlow+ Runner
We have had numerous queries regarding the support of .NET 6 for SpecFlow+ Runner. Sadly, we must let you all know that we will be discontinuing any further development on SpecFlow+ Runner, with...
View ArticleWriting Effective Behaviour-Driven Test Cases
As a homeschool dad, I often get the chance to try and explain complicated things to young children. Right now we are studying chemistry which can be a tough concept to grasp. What is an atom? How do...
View ArticleSpecFlow for Rider (Plugin) is now Available!
If you’ve heard about Behavior Driven Development (BDD) in .NET, or are practicing it already, there’s a good chance you’re using SpecFlow. In this post, our friends from SpecFlow dive into how BDD...
View ArticleIntroduction of SpecFlow Actions
One topic where we see teams struggle is the automation part of using SpecFlow and also how to integrate tools with SpecFlow. So let’s make test automation easy with SpecFlow Actions! What are...
View ArticleBDD: Before You Begin (Part 1/2)
Behavior-Driven Development (BDD) offers compelling benefits, which most groups completely miss out on. I don’t mean “they’re doing it wrong”. The reasons form a complex web, which we can start to...
View ArticleImproving Gherkin Specs with SpecFlow Step Argument Transformations
In this post we will look at how parameter strings in Gherkin steps are converted to arguments in step binding methods, and how we can implement our own custom conversions using step argument...
View ArticleGherkin Conventions for Readable Specifications
This article was written by Sophie Keiblinger. Sophie has been a software test engineer at TechTalk since 2014 and is based in Vienna, Austria. She is passionate about BDD and test automation because...
View ArticleFive things I’ve learned about facilitating Given-When-Then in lockdown
Last summer, we started the Given-When-Then-With-Style community challenge. In 52 posts so far, with 22 challenges/solutions and accompanying articles, hundreds of community members sent in their...
View ArticleA BDD Journey With SpecFlow
Our passion and obsession with Behaviour Driven Development (BDD) has taken us here at SpecFlow to extreme lengths; we live and breathe this practice. We also believe other development teams would...
View ArticleWorking with BDD Remote Part 2: Drive development with Gherkin
In Part 1 we have discussed how we can ensure shared understanding in remote environments using examples during the online requirement workshops. As mentioned there, those workshops focused on getting...
View ArticleGenerating Code Behind Files using MSBuild
Since SpecFlow 1.9, your can generate the code-behind files for feature files (*.feature.cs) at compile time. To do so, you need to use a MSBuild Task. The documentation is here. Pros Feature files and...
View ArticleBDD: Before You Begin (Part 2/2)
If you’re a programmer starting to practise BDD, then you probably felt the impulse to dive straight into the various technology tools. If you follow this impulse, then you risk missing out on the...
View ArticleCommon preconditions: Outlines, background or hooks?
Instead of the answer to the last week’s challenge, this week we’ll go a bit deeper into a recurring topic: setting up common preconditions. Related scenarios often have a similar starting point. In...
View ArticleWorking with BDD Remote Part 3: Make living documentation accessible
In the article series so far we have seen how to get a better understanding of the requirements using examples in a remote environment and how to formulate these into BDD scenarios online. We also...
View ArticleGiven-When-Then beyond features
Instead of posting a solution to the current topic, this week I’ll describe how to overcome some limitations of Given-When-Then tools, and when it’s OK to break the rules. (During the summer period,...
View ArticleHighlight parameters for readability
In order for Given-When-Then scenarios to facilitate good discussions, variables must be easy to spot. Unless people can tell easily if some phrase or word might change, they will not be able to ask...
View ArticleWorking with BDD Remote Part 1: Collect Examples Online
Even as we slowly open offices, remote work remains the norm. The sudden shift to remote work clearly exposed the importance – and challenges – of remote collaboration. Now that a few months of...
View ArticleIs BDD too stringent and stands in the way of creativity?
I recently came across a great discussion between Alan Shimel, Grigori Melnik and James Bach on Digital Anarchist. The conversation went from testing in the 60s all the way to present day and time....
View ArticleSix Shades of Gherkin
There are many ways one can write Gherkin in a feature file. To illustrate several shades of Gherkin for the same functionality, I’ll use the example included in the download of SpecFlow. Feature:...
View ArticleSpecFlow 3.8 is public! Outputting all the things!
We are excited to announce that SpecFlow 3.8 is finally publicly released. The biggest new feature we added in this version is a dedicated API for additional output (text and files) for your...
View Article