SeattleTestbed / utf

Unit Test Framework for SeattleTestbed
MIT License
1 stars 9 forks source link

Sort by module names before running all tests #78

Closed aaaaalbert closed 8 years ago

aaaaalbert commented 8 years ago

As described in SeattleTestbed/ATTIC#1225, it's hard to read and compare the output of utf.py when the names of things that are iterated over are not sorted alphabetically. This commit fixes the problem for module names in -a ("run all tests") mode.

lukpueh commented 8 years ago

Looks sensible to me.

Note, this patch only guarantees that the modules are tested in alphabetical order, to make sure that the individual tests of a module are also executed in alphabetical order we assume that the passed file_list is already sorted (which it is).

aaaaalbert commented 8 years ago

¡Gracias!