Search code examples
c#mstestbdd

Does SpecsFor work with MSTest?


The SpecsFor Behavior-Driven Development framework for .NET comes packaged with and apparently leverages NUnit.

I like the way MSTest is integrated into Visual Studio but I'm also interested in SpecFor's approach for spec testing.

So the question is:

Is SpecsFor compatible with MSTest? Does it require NUnit?


Solution

  • Looking through the source of SpecsFor it's heavily integrated with NUnit so I am afraid but there is no easy way to use with MSTest.

    However you can use one of the commercial test runners like TDD.Net or Resharper to have a similar test runner experience inside VS with NUnit.