Search code examples
c#resharpermspec

What is an alternative tool for MSpec integration with Visual Studio?


I recently finished a C# project and wrote tests with MSpec using Machine.Fakes. I have been using the command line runner. It would be more comfortable to see the test results/runs inside Visual Studio. But, ReSharper is outside of my budget. Is there an attractive alternative?


Solution

  • First of all, I highly recommend getting ReSharper. It's much more than just a test runner. In my experience, working without ReSharper is less productive.

    There are test runners for several commercial products available:

    TestDriven.Net should be cheaper than ReSharper, but it is only a test runner. The other products are similar to what ReSharper provides, but I haven't worked with them.

    There are also continuous test runners for Visual Studio:

    Both are free as of today.

    There's also Gallio, which might offer integration into VS.

    As a last option, you can set up MSpec's exe runner as an external tool to see test run output in the Output window.

    For VS 2012 we'll probably have a runner that integrates without the need for extra tools.