Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running nUnit tests in a multithreaded fashion

Is it possible to run nunit tests in a multithreaded fashion? Is there any runner which can provide this?

Before someone jump on "unit test" concept, let me explain: These are not unit tests we are using nunit for functional / integration testing as well, and some of those tests are incredibly slow, got lots of wait state. Therefore multithreading can help them massively.

I know as a last resort I can roll my own multi-threading within the tests but that'll introduce an unrequired overhead.

like image 721
dr. evil Avatar asked Oct 08 '09 08:10

dr. evil


3 Answers

Try Pnunit

like image 62
Hasani Blackwell Avatar answered Dec 12 '22 11:12

Hasani Blackwell


But ofcourse we do have to have TeamCity support for this too ;-)

Allegedly NUnit3 will have multithreading support.

like image 33
Squirrel Avatar answered Dec 12 '22 12:12

Squirrel


here is a reference to PNUint http://www.codicesoftware.com/opdownloads2/oppnunit.aspx. We use it as a part of the environment to load test a web app with extensive ajax functionality

like image 31
mfeingold Avatar answered Dec 12 '22 12:12

mfeingold