Version: 9.15.0
pyunittester.py File Reference

Data Structures

class  KERNEL_PY.kernel.pyunittester.PyUnitTester
 This class is a simple wrapper of the pyunit framework. More...
 
class  KERNEL_PY.kernel.pyunittester.MyTestCase
 
class  KERNEL_PY.kernel.pyunittester.MyTestCase2
 

Namespaces

 KERNEL_PY.kernel.pyunittester
 

Functions

def KERNEL_PY.kernel.pyunittester.printfile (filename)
 
def KERNEL_PY.kernel.pyunittester.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 KERNEL_PY.kernel.pyunittester.run (testCaseClass)
 Run the test suite provided by the specified TestCase class. More...
 
def KERNEL_PY.kernel.pyunittester.functionRaisingAnException ()
 
def KERNEL_PY.kernel.pyunittester.functionReturningFalse ()
 
def KERNEL_PY.kernel.pyunittester.functionReturningTrue ()
 
def KERNEL_PY.kernel.pyunittester.functionReturningNothing ()
 
def KERNEL_PY.kernel.pyunittester.TEST_basic_usecase ()