Data Structures | |
class | PyUnitTester |
This class is a simple wrapper of the pyunit framework. More... | |
class | MyTestCase |
class | MyTestCase2 |
Functions | |
def | printfile (filename) |
def | execAndConvertExceptionToBoolean (function) |
This can be used to just execute a test function that is considered as OK simply if no exception is raised (can be test by an assertTrue). More... | |
def | run (testCaseClass) |
Run the test suite provided by the specified TestCase class. More... | |
def | functionRaisingAnException () |
def | functionReturningFalse () |
def | functionReturningTrue () |
def | functionReturningNothing () |
def | TEST_basic_usecase () |
def pyunittester.functionRaisingAnException | ( | ) |
def pyunittester.functionReturningFalse | ( | ) |
def pyunittester.functionReturningNothing | ( | ) |
def pyunittester.functionReturningTrue | ( | ) |
def pyunittester.printfile | ( | filename | ) |
References termcolor.canDisplayColor(), and termcolor.makeColoredMessage().
Referenced by pyunittester.PyUnitTester.printreport().
def pyunittester.TEST_basic_usecase | ( | ) |