Alex Rivera | Logout

How can I run NUnit tests in parallel?

Asked 2010-07-22T20:31:45.167
90

I've got a large acceptance test (~10 seconds per test) test suite written using NUnit. I would like to make use of the fact that my machines are all multiple core boxes. Ideally, I'd be able to have one test running per core, independently of other tests.

There is PNUnit, but it's designed for testing for threading synchronization issues and things like that, and I didn't see an obvious way to accomplish this.

Is there a switch/tool/option I can use to run the tests in parallel?

Edit
Report

1 Answer

3

You can now use NCrunch to parallelize your unit tests and you can even configure how many cores should be used by NCrunch and how many should be used by Visual Studio.

plus you get continuous testing as a bonus :)

answered 2012-09-20T20:46:27.770

Your Answer