Vega strike Python Modules doc
0.5.1
Documentation of the " Modules " folder of Vega strike
|
Public Member Functions | |
def | __init__ |
def | getDescription |
def | startTest |
def | addSuccess |
def | addError |
def | addFailure |
def | printErrors |
def | printErrorList |
![]() | |
def | __init__ |
def | startTest |
def | stopTest |
def | addError |
def | addFailure |
def | addSuccess |
def | wasSuccessful |
def | stop |
def | __repr__ |
Data Fields | |
stream | |
showAll | |
dots | |
descriptions | |
![]() | |
failures | |
errors | |
testsRun | |
shouldStop | |
Static Public Attributes | |
string | separator1 = '=' |
string | separator2 = '-' |
A test result class that can print formatted text results to a stream. Used by TextTestRunner.
Definition at line 532 of file unittest.py.
def __init__ | ( | self, | |
stream, | |||
descriptions, | |||
verbosity | |||
) |
def addError | ( | self, | |
test, | |||
err | |||
) |
Definition at line 566 of file unittest.py.
References _TextTestResult.dots, and _TextTestResult.showAll.
def addFailure | ( | self, | |
test, | |||
err | |||
) |
Definition at line 573 of file unittest.py.
References _TextTestResult.dots, and _TextTestResult.showAll.
def addSuccess | ( | self, | |
test | |||
) |
Definition at line 559 of file unittest.py.
References _TextTestResult.dots, and _TextTestResult.showAll.
def getDescription | ( | self, | |
test | |||
) |
Definition at line 547 of file unittest.py.
References _TextTestResult.descriptions, and locale.str().
def printErrorList | ( | self, | |
flavour, | |||
errors | |||
) |
Definition at line 586 of file unittest.py.
References _TextTestResult.getDescription(), _TextTestResult.separator1, and _TextTestResult.separator2.
def printErrors | ( | self) |
Definition at line 580 of file unittest.py.
References _TextTestResult.dots, TestResult.errors, StreamWriter.errors, ParsingError.errors, StreamReader.errors, StreamReaderWriter.errors, StreamRecoder.errors, TestResult.failures, _TextTestResult.printErrorList(), and _TextTestResult.showAll.
def startTest | ( | self, | |
test | |||
) |
Definition at line 553 of file unittest.py.
References _TextTestResult.getDescription(), and _TextTestResult.showAll.
descriptions |
Definition at line 545 of file unittest.py.
dots |
Definition at line 544 of file unittest.py.
|
static |
Definition at line 537 of file unittest.py.
|
static |
Definition at line 538 of file unittest.py.
showAll |
Definition at line 543 of file unittest.py.
stream |
Definition at line 542 of file unittest.py.