SpecFlow 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 and Rider help you write better, maintainable code through the use of automated tests. The frequently-requested enhanced SpecFlow IDE support in JetBrains… Continue reading SpecFlow for Rider (Plugin) is now Available!

Introduction 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 SpecFlow Actions? SpecFlow Actions are our new way to help you all write easier and quicker test automation. They will solve common… Continue reading Introduction of SpecFlow Actions

BDD: 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 understand by looking at one common failure mode: what often happens when programmers unilaterally decide to adopt BDD on their project. This approach tends… Continue reading BDD: Before You Begin (Part 1/2)
Published
Categorised as BDD

Improving 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 transformations. The Basics From Gherkin to Code When writing Gherkin style specs, you typically want to reuse your steps with slight variations.… Continue reading Improving Gherkin Specs with SpecFlow Step Argument Transformations
Published
Categorised as Gherkin

Gherkin 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 it “encourages and fosters communication between all stakeholders and leaves more time for exploring and finding the interesting stuff”. Developers have coding… Continue reading Gherkin Conventions for Readable Specifications
Published
Categorised as Gherkin

Five 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 ideas on how to describe tricky problems effectively with Gherkin, and the SpecFlow team even introduced a new plug-in as a direct result of one of the proposals. As the first… Continue reading Five things I’ve learned about facilitating Given-When-Then in lockdown
Published
Categorised as Gherkin

A 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 immensely benefit from this practice, and to make it easier for them to adopt BDD, we have put together a range of products to… Continue reading A BDD Journey With SpecFlow
Published
Categorised as BDD

Working 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 the most out of the precious time together, therefore the result (the rules and the examples) have been captured in a simple form, not using Given/When/Then. Let’s… Continue reading Working with BDD Remote Part 2: Drive development with Gherkin

Generating 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 code-behind files are always in sync No need to check the feature.cs files into your source control system Works without Visual Studio… Continue reading Generating Code Behind Files using MSBuild

BDD: 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 single most powerful benefit of BDD: greater shared understanding of the features. I encourage you to start somewhere else. Before you change… Continue reading BDD: Before You Begin (Part 2/2)
Published
Categorised as BDD