Closed rambleraptor closed 10 years ago
The ordering of tests within a case is very much less important than the ordering of test cases relative to each other.
Given the very small gains, I'm not sure this should be merged. I assume the necessary change for inter-testcase ordering will look quite different.
I completely agree with that. This was just a very quick stopgap that I devised.
For any given TestCase, the unittests annotated with the @suite('unittest') decorator will be run before the other tests in that TestCase. One step closer to all unittests being run before all non-unittests!
Note: The plugins are under the unittest_annotation2.py name. I named it differently from INFRA-1346 pull request to avoid any merge conflicts. Eventually, they will be moved to one file.