Bridges the SpecFlow and popular UI automation frameworks to simplify acceptance tests.
C# Gherkin
Clone or download
dpiessens Merge pull request #162 from icnocop/fixes
Fixed code file header comments
Latest commit 83a3a47 Apr 28, 2018

Join the chat at

Build status

Code Coverage

What is SpecBind?

SpecBind is an extension to SpecFlow that uses common language steps to allow a user to define interaction with an application. Unlike conventional SpecFlow where the user needs to define how each step definition interacts with the host system, SpecBind uses conventions and a thin page model to minimize coding efforts and maximize flexibility when defining the link between specifications and working sites.

Initial Setup

Getting SpecBind installed is a simple process:

  1. Go to and follow the instructions for installing the Visual Studio Extension

  2. Choose the driver type you want to use to interact with the host system:

    • Coded UI
    • Selenium
  3. Create a new test project in Visual Studio, Make it a Coded UI project if you are using that.

  4. Install the NuGet package for SpecBind

  • Coded UI PM\> Install-Package SpecBind.CodedUI
  • SeleniumPM\> Install-Package SpecBind.Selenium

And you're done!

Step Overview

One of the key features of SpecBind is it features a common set of steps that can be used to describe actions you take in validating a web application. These steps are outlined by their functionality in the Getting Started guide or in the Step Reference section. One thing to note is how they work with the Gherkin language. For any Given steps the step is in the past tense. This is because it assumes the action is a prerequisite and has already occurred. The When and Then steps are in the present tense since they are what the test indicates should occur. In this guide, both commands will be outlined so that the syntax is know, but only the present tense will be used for examples.

Next Steps

Follow the Getting Started section to begin creating tests, or Documentation for in detailed information on SpecBind.