Begin implementation, basic inferenece
This commit is contained in:
8
test/test_util.py
Normal file
8
test/test_util.py
Normal file
@@ -0,0 +1,8 @@
|
||||
import unittest
|
||||
|
||||
class SequentialTestLoader(unittest.TestLoader):
|
||||
def getTestCaseNames(self, testCaseClass):
|
||||
test_names = super().getTestCaseNames(testCaseClass)
|
||||
testcase_methods = list(testCaseClass.__dict__.keys())
|
||||
test_names.sort(key=testcase_methods.index)
|
||||
return test_names
|
||||
Reference in New Issue
Block a user