SpecFlow

A 10-post collection

Getting Started with Selenium, Specflow, and .NET

Selenium is a library used to automate web browsers. It uses a common web driver interface, and each web browser, Chrome, Firefox, IE, has a corresponding implementation that takes advantage »

Specflow Tags Done Right

In a previous post, I covered scoped bindings in Specflow and ended with an example of how not to use tags. In this post, I'll cover the "right way" and »

An Introduction to Scoped Bindings in Specflow

One aspect of Specflow is the ability to scope bindings by feature title, scenario title, or tag. Normally bindings are global to the project, but a binding's scope can be »

Refactoring to Composable Specflow Steps

I've seen some pretty bad Specflow code. Code that seems to violate every good practice out there. Poor reuse. Copy and paste everywhere. Test code is the hotel room of »

Code This, Not That - Specflow Edition

In 2007 a different kind of diet book was published that took a concise approach to making the right food choices. Readers of the book were presented with good and »

Useful Regex for Specflow Bindings

Below is a list of useful regular expressions (regex) for annotating Specflow bindings. I'm treating this post as a reference and will be updating it with new items from time »

Strategies for Managing State in Specflow

Specflow is an extension for Visual Studio that binds software specifications written in the Gherkin language to executable code written in C#, VB, or some other .NET language. One of »

Specflow Nested Tables: A Bad Idea

I’ve been using Specflow to write behavior specifications for just under a year, and one question that comes up is whether or not nested tables are supported for creating »

More Specflow Tips

UPDATE (11/18/2016): I've written a number of posts since this one was published that cover advanced Specflow topics like composable steps, tags done right, managing state, useful regex, »

Some SpecFlow Tips

UPDATE (11/18/2016): I've written a number of posts since this one was published that cover advanced Specflow topics like composable steps, tags done right, managing state, useful regex, »