Migration to SpecFlow+ Runner

Installing SpecFlow+ Runner

SpecFlow+ Runner works with any assertions API, which means that switching from another test runner to SpecFlow+ Runner is easy. To switch, you will need to:

  1. Install the SpecRun.SpecFlow NuGet package.
  2. Build your project

Once you have completed these steps, you can run your tests with SpecFlow+Runner. More detailed information on the steps necessary for different unit test providers are provided below.

Detailed steps

MSTest

  1. Remove the SpecFlow.MsTest NuGet package from your project
  2. Add the SpecRun.SpecFlow NuGet package to your project
  3. Build your project

NUnit

  1. Remove the SpecFlow.NUnit NuGet package from your project
  2. Add the SpecRun.SpecFlow NuGet package to your project
  3. Build your project

xUnit

  1. Remove the SpecFlow.xUnit NuGet package from your project
  2. Add the SpecRun.SpecFlow NuGet package to your project.
  3. Build your project