문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top