4

I am wondering if I can run my NUnit tests in parallel, I'm using the R# test runner and there is the option of running assemblies in parallel.enter image description here

I have a Test Project with all of the tests and they are all 'grouped' and ordered by namespace. Is there any ability to be able to run tests in namespaces in parallel? Example of what I mean by 'grouping'enter image description here

Jamie Rees
  • 7,973
  • 2
  • 45
  • 83
  • As far as I know you can only run complete test assemblies in parallel. Maybe splitting your test assembly into two or more independent assemblies is an option. – EagleBeak Mar 06 '15 at 11:53
  • I'd rather not go down that route, I guess I'll have to if that is the only option though. – Jamie Rees Mar 06 '15 at 11:56

1 Answers1

0

I would go with the NUnit console and that gives you some commandline options to run the tests by specifying TestFixtures

nunit /fixture:NUnit.Tests.AssertionTests nunit.tests.dll

to load only the NUnit.Tests.AssertionTests in the nunit.tests.dll assembly. The name specified after the /fixture option may be that of a TestFixture class, or a namespace

I have never personally tested parallel execution with commandline but theoretically it can be done

See this

Saifur
  • 16,081
  • 6
  • 49
  • 73