Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | __repr__ |
def | countTestCases |
def | addTest |
def | addTests |
def | run |
def | __call__ |
def | debug |
A test suite is a composite test consisting of a number of TestCases. For use, create an instance of TestSuite, then add test case instances. When all tests have been added, the suite can be passed to a test runner, such as TextTestRunner. It will run the individual test cases in the order in which they were added, aggregating the results. When subclassing, do not forget to call the base class constructor.
Definition at line 307 of file unittest.py.
def __init__ | ( | self, | |
tests = () |
|||
) |
Definition at line 316 of file unittest.py.
References TestSuite._tests, and TestSuite.addTests().
def __call__ | ( | self, | |
result | |||
) |
Definition at line 341 of file unittest.py.
References TestSuite._tests, and symbol.test.
def __repr__ | ( | self) |
Definition at line 320 of file unittest.py.
References SymbolTable.__class__, and TestSuite._tests.
def addTest | ( | self, | |
test | |||
) |
Definition at line 331 of file unittest.py.
def addTests | ( | self, | |
tests | |||
) |
Definition at line 334 of file unittest.py.
References TestSuite.addTest().
def countTestCases | ( | self) |
def debug | ( | self) |
Run the tests without collecting errors in a TestResult
Definition at line 348 of file unittest.py.
References TestSuite._tests.
def run | ( | self, | |
result | |||
) |
Definition at line 338 of file unittest.py.