I'm currently trying to figure out why some integration tests only fail on Linux machines (and know that test order affecting test results is a bad thing).
When I run the maven target on Windows machines, the order of the test classes is pretty much preserved between runs and across two different machines.
When I run the maven target on Linux machines, the order of the test classes is different between Linux machines (did not check for across builds).
How does maven determine the order of test classes that will run?
EDIT: I am not trying to control the order of the tests, but am trying to determine how maven decides what order to run these tests, which is not answered in How do I control the order of execution of tests in Maven?