Is it possible to make a single nunit3 assembly run in parallel?

As Visual studio and Resharper dont work that well if you have 100+ projects in your solution we moved all our unittests to a single class library instead of having 50+ projects.

 

But in all options I can find, the only way to run tests in parallel is

"Run up to x assemblies in parallel"

but I only have 1 assembly with 8000+ unittests

(Also have this issue with Teamcity if that dont just do it automaticly)

0
2 comments
Official comment

Hello!

 

Thank you for contacting us.

For running tests in parallel please use NUnit ParallelizableAttribute. 

The "Run up to x assemblies in parallel" setting of R# is completely separate and is not affected by the concurrency settings of a particular UT framework.

Thank you.

 

Avatar
Permanently deleted user

So if I use ParallelizableAttribute and run tests with Reshaper or in Teamcity they will be run in parallel even though its one single dll ?

0

Please sign in to leave a comment.