--- a/unittest.py Fri Sep 18 20:26:00 2020 +0300 +++ b/unittest.py Fri Sep 18 20:26:05 2020 +0300 @@ -11,7 +11,7 @@ import os unit_test_dir = Path(script_directory) / 'unittests' for dirpath, dirnames, filenames in os.walk(unit_test_dir): - yield from ( + yield from sorted( Path(dirpath) / filename for filename in filenames if filename.endswith('.test')