Shortest failing test sequence finder (coupled tests detector)

Final bonus part:

Part 2b. Extend the plugin to generate the initial list itself

So that all we would do is:

pytest -findcoupled 

and it’d just go and run all the tests several times in different orders with repetitions, and if it finds any failures it’d then reduce it to the shortest sequence.

So most likely we can borrow some functionality from the random-order plugins I mentioned in the previous post to seed the initial list and then if and when failures found, then apply the reduction algorithm to that long list.