Skip to content

Unit test providers

Gáspár Nagy edited this page Sep 26, 2013 · 14 revisions

SpecFlow supports several unit test framework to execute the acceptance tests. You can use one of the built-in unit test providers or create a custom provider. The unit test provider to be used can be configured through the <unitTestProvider> configuration element.

The following table contains the built-in unit test providers.

Name Supports Description
row tests categories inconclusive
SpecRun + + + SpecRun is a test execution framework specialized for SpecFlow. Install it with the SpecRun.SpecFlow NuGet package. See SpecRun Integration for details.
NUnit + + + See http://www.nunit.org. Specialized NuGet packages available for easy setup: SpecFlow.NUnit, SpecFlow.NUnit.Runners.
MsTest.2008 - - + MsTest provider for .NET 3.5
MsTest
MsTest.2010
- + + MsTest provider for .NET 4.0. Supporting test-categories. (Note: before SpecFlow v1.9, MsTest was referring to the .NET 3.5 provider.)
MsTest.Silverlight
MsTest.Silverlight3
MsTest.Silverlight4
- + + Silverlight Unit Test Framework http://code.msdn.microsoft.com/silverlightut. See Silverlight Support.
MsTest.WindowsPhone7 - + + See Windows Phone 7 Support.
xUnit + - - See http://www.xunit.net. Specialized NuGet package available for easy setup: SpecFlow.xUnit.
mbUnit + + + MbUnit provider. See http://www.mbunit.com.
mbUnit.3 + + + MbUnit Version 3 provider. See http://www.mbunit.com.
SpecRun
SpecRun+NUnit
SpecRun+MsTest
+ + + SpecRun provider. See http://www.specrun.com. Requires SpecRun plugin NuGet package: SpecRun.SpecFlow

Clone this wiki locally