Test: simplified command to run single test
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
|
||||
SET(Test_SRCS
|
||||
__init__.py
|
||||
Init.py
|
||||
BaseTests.py
|
||||
Document.py
|
||||
|
||||
5
src/Mod/Test/__init__.py
Normal file
5
src/Mod/Test/__init__.py
Normal file
@@ -0,0 +1,5 @@
|
||||
import unittest
|
||||
|
||||
def runTest(test_case, verbosity=2):
|
||||
suite = unittest.TestLoader().loadTestsFromTestCase(test_case)
|
||||
unittest.TextTestRunner(verbosity=verbosity).run(suite)
|
||||
Reference in New Issue
Block a user