0

how can I run the NUnit console.exe in parallel for the same application. Is it possible to do that?

sll
  • 61,540
  • 22
  • 104
  • 156
ratty
  • 13,216
  • 29
  • 75
  • 108

1 Answers1

1

Basically single instance of nunit-console run tests in parallel using different threads, you can disable this by passing /nothread command line argument.

EDIT: Mode details about discussion in chart

So ratty have two tests DLLs and want to run tests for both DLLs in parallel, I suggested to create a new solution which includes both underlying projects and simply run unit tests for newly created solution, NUNit console will run tests in parallel by default

sll
  • 61,540
  • 22
  • 104
  • 156
  • can you please explain little bit elaborate? – ratty Aug 11 '11 at 11:34
  • When you are launching unit tests using nunit-console it uses multiple threads to execute tests in parallel – sll Aug 11 '11 at 11:41
  • To run from console just specify nunit-console.exe "path to solution file" – sll Aug 11 '11 at 11:43
  • when starts execute two console at a time one gets terminated – ratty Aug 11 '11 at 11:46
  • I've created batch file run.cmd with single command which executes nunit-console.exe with path, and ran it twice, all working fine. NUnit 2.5.10 – sll Aug 11 '11 at 11:50
  • @sllev let us [continue this discussion in chat](http://chat.stackoverflow.com/rooms/2360/discussion-between-ratty-and-sllev) – ratty Aug 11 '11 at 11:51