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

Notification

Icon
Error

Parallel test execution constraints question
wilhelmmedetz
#1 Posted : Tuesday, July 31, 2012 1:37:34 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 7/4/2012(UTC)
Posts: 35

Was thanked: 2 time(s) in 2 post(s)
I would like to express the following constraints:

There are 4 tests: A1, A2, B1, B2

A1 and A2 can be run in parallel
B1 and B2 can be run in parallel

Any A* tests can not be run in parallel with any B* tests

Is it possible to express this constraint with the InclusivelyUses/ExclusivelyUses attributes?

Regards

Wilhelm
Remco
#2 Posted : Tuesday, July 31, 2012 9:41:58 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,143

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Wilhelm,

Thanks for posting!

I can't see any way to do this without creating an individual resource for each possible combination between A and B tests, which I presume is something that's occurred to you but is considered not an option because it's very messy and hard to maintain.

Can you describe a bit more about the nature of these tests and the reasoning behind their constraints? It sound as though the concurrency constraints don't seem to be tied to specific resources, so I'd really like to learn a bit more about this use case.


Cheers,

Remco
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.026 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download