Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | loadTestsFromTestCase |
def | loadTestsFromModule |
def | loadTestsFromName |
def | loadTestsFromNames |
def | getTestCaseNames |
Static Public Attributes | |
string | testMethodPrefix = 'test' |
sortTestMethodsUsing = cmp | |
suiteClass = TestSuite | |
This class is responsible for loading tests according to various criteria and returning them wrapped in a Test
Definition at line 401 of file unittest.py.
def getTestCaseNames | ( | self, | |
testCaseClass | |||
) |
Return a sorted sequence of method names found within testCaseClass
Definition at line 476 of file unittest.py.
References sre_parse.dir, fnmatch.filter(), TestLoader.getTestCaseNames(), TestLoader.sortTestMethodsUsing, and TestLoader.testMethodPrefix.
def loadTestsFromModule | ( | self, | |
module | |||
) |
Return a suite of all tests cases contained in the given module
Definition at line 414 of file unittest.py.
References sre_parse.dir, TestLoader.loadTestsFromTestCase(), and TestLoader.suiteClass.
def loadTestsFromName | ( | self, | |
name, | |||
module = None |
|||
) |
Return a suite of all tests cases given a string specifier. The name may resolve either to a module, a test case class, a test method within a test case class, or a callable object which returns a TestCase or TestSuite instance. The method optionally resolves the names relative to a given module.
Definition at line 423 of file unittest.py.
References string.join(), TestLoader.loadTestsFromModule(), TestLoader.loadTestsFromTestCase(), go_somewhere_significant.obj, and string.split().
def loadTestsFromNames | ( | self, | |
names, | |||
module = None |
|||
) |
Return a suite of all tests cases found using the given sequence of string specifiers. See 'loadTestsFromName()'.
Definition at line 467 of file unittest.py.
References TestLoader.loadTestsFromName(), and TestLoader.suiteClass.
def loadTestsFromTestCase | ( | self, | |
testCaseClass | |||
) |
Return a suite of all tests cases contained in testCaseClass
Definition at line 409 of file unittest.py.
References TestLoader.getTestCaseNames(), and TestLoader.suiteClass.
|
static |
Definition at line 406 of file unittest.py.
|
static |
Definition at line 407 of file unittest.py.
|
static |
Definition at line 405 of file unittest.py.