In Cucumber Is there a way to reorder test Scenarios during a test

39 Views Asked by At

Sorry if this question sounds dumb, still learning new ways of improving my tests.

Say I am running a random parallel test on 4 threads and a new scenario B is to be started on thread 4 but thread 2 already has a test scenario A running that shares a resource that is locked during the test. Is there a way to get the next scenario in line and push scenario B back one on the queue? (possibly using the scenario @ tags)

Is there a way to access the test lineup directly during the test to manipulate it like this?

Let me know if I should give any more info or a clearer statement on it.

I have Investigated it for a few days myself as well as searching here to no avail.

0

There are 0 best solutions below