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:
- Install the
SpecRun.SpecFlow
NuGet package. - 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¶
- Remove the
SpecFlow.MsTest
NuGet package from your project - Add the
SpecRun.SpecFlow
NuGet package to your project - Build your project
NUnit¶
- Remove the
SpecFlow.NUnit
NuGet package from your project - Add the
SpecRun.SpecFlow
NuGet package to your project - Build your project
xUnit¶
- Remove the
SpecFlow.xUnit
NuGet package from your project - Add the
SpecRun.SpecFlow
NuGet package to your project. - Build your project