Build/Test Issues

Parallel test execution constraints question

Started by wilhelmmedetz on 6,058 views

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
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

Post a reply

Log in to reply.