logo logo

Get Started with SpecFlow in your Test Automation Project

In this series of five articles, I want to help you get started with using SpecFlow in your test automation project. Here’s what you can expect to learn more about:

  • The first article will explain what Behaviour Driven Development (BDD) is, what SpecFlow is and how it supports BDD, and what SpecFlow exactly does and does not do.
  • The next article will get you started with using SpecFlow in your test automation project by explaining how to set up and configure SpecFlow, how to write your first SpecFlow specification and how to make it executable.
  • After that, we’ll take a close look at creating more intelligent and flexible scenarios with the goal of creating expressive specifications that support communication about application behaviour and acceptance test goals and results.
  • The fourth article will show you how, when your project is growing, you can keep your specifications clean by applying techniques for improving readability and maintainability.
  • The fifth and final article will demonstrate how to work effectively with tables in SpecFlow scenarios.

Tutorial Chapters

  1. BDD, SpecFlow and The SpecFlow Ecosystem (Chapter 1)
  2. Getting Started with SpecFlow (Chapter 2)
  3. Writing More Expressive SpecFlow Steps (Chapter 3)
  4. Tidying Up Your SpecFlow Features and Scenarios (Chapter 4)
  5. Working with SpecFlow Tables and SpecFlow.Assist (Chapter 5)


With the information presented in this article series, you’ll have everything you need to decide if using SpecFlow can help you in your software development and test automation project. You’ll also have a collection of runnable examples that you can use and build on to start using SpecFlow, or to expand and improve the way you’re already using it.




About the author

Bas Dijkstra

Bas teaches companies around the world how to improve their testing efforts through test automation. He is an independent trainer, consultant and developer living in the Netherlands. When he’s not working he likes to take his bicycle for a ride, go for a run or read a good book.

Leave a Reply