Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Parallell execution for individual projects
morrog
#1 Posted : Monday, December 2, 2013 10:46:16 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 1/20/2012(UTC)
Posts: 4

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
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.
Remco
#2 Posted : Monday, December 2, 2013 11:19:32 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.045 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download