Resharper Unit Test Runner significantly slower than NUnit console

Resharper Unit Test Runner runs significantly slower than nunit-console or nunit gui.

For example, 3800 tests take just over 60 seconds via nunit-console, but those same tests take over 5 minutes to run in Resharper Unit Test runner. Why such a significant difference?

Since our test code base has grown significantly, this is really starting to slow us down. Has anyone else experienced similar problems? How have you dealt with it?

The Resharper Visual Studio integration is really nice, however we might need to resort to something else.


我有同样的问题,我切换到TestDriven.Net,它闪电般快。


I don't think the goal of Resharper was to provide a utility to execute an entire test suite from within Visual Studio. That is usually the goal of a build server or test suite server running continuous integration tools (like NUnit launched from CruiseControl)

The Resharper unit test runner appears best leveraged by running small sets of unit tests to diagnose and satisfy a particular unit of code. It allows you to create focused test suites that can be conveniently run from within the studio, debugged, repeated, and analyzed quickly without waiting for builds.

I would recommend leveraging a build server for running the complete suite of tests.

链接地址: http://www.djcxy.com/p/51764.html

上一篇: 我如何使用ReSharper创建NUnit测试?

下一篇: Resharper Unit Test Runner明显比NUnit控制台慢