Feature Suggestions

Parallell execution for individual projects

Started by morrog on 7,394 views

I can't find a way to disable parallell execution for individual projects. This should be an option under configuration.
We have both integration and unit tests in the solution.

Edited

Hi, thanks for posting!

The correct way to do this is to specify ExclusivelyUsesAttribute at assembly level of the test projects you wish to disable parallel execution on.

Simply specify it with an arbitrary value, i.e. [assembly:NCrunch.Framework.ExclusivelyUses("TestRunner")]

All tests within these projects will then be marked as making exclusive use of the "TestRunner" resource, and will not run in parallel with each other.

Post a reply

Log in to reply.