How to have unittest tests to be executed in the order they appear?
gnewsg at gmail.com
Tue Apr 15 21:02:48 CEST 2008
Is there a way to force unittest to run test methods in the order they
I'll try to explain.
My test suite appears as something like this:
from test.test_support import TestSkipped, run_unittest
if __name__ == '__main__':
I'd like the tests to be executed in the order they are defined
(test_z, test_b and finally test_d).
Is there a way to do that?
Thanks in advance.
More information about the Python-list