django.test.reorder_suite isn't a stable sort
|Reported by:||w004dal||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I have run into cases where tests must run in a specific order (ie. if I'm going to test terminating the web server and see how the web services behind it respond, then I want that test to run last).
The reordering and grouping of tests together in django.test.reorder_suite isn't a "stable sort".
If all of the tests are of the same type, then if I have an array of tests called 'x', then for all permutations of the elements of 'x', stable_sort(x) == x.