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 KERNEL_PY.kernel.pyunittester.functionRaisingAnException | ( | ) |
| def KERNEL_PY.kernel.pyunittester.functionReturningFalse | ( | ) |
| def KERNEL_PY.kernel.pyunittester.functionReturningNothing | ( | ) |
| def KERNEL_PY.kernel.pyunittester.functionReturningTrue | ( | ) |
| def KERNEL_PY.kernel.pyunittester.printfile | ( | filename | ) |
References termcolor.canDisplayColor(), and termcolor.makeColoredMessage().
Referenced by KERNEL_PY.kernel.pyunittester.PyUnitTester.printreport().
| def KERNEL_PY.kernel.pyunittester.TEST_basic_usecase | ( | ) |