Version: 9.8.0
pyunittester
Collaboration diagram for pyunittester:

Data Structures

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

Functions

def 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 pyunittester.run (testCaseClass)
 Run the test suite provided by the specified TestCase class. More...
 
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...
 

Detailed Description

Simple wrapper of the pyunit framework

Function Documentation

◆ execAndConvertExceptionToBoolean() [1/2]

def 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).

Referenced by pyunittester.MyTestCase2.test_myTest_01(), pyunittester.MyTestCase2.test_myTest_02(), pyunittester.MyTestCase2.test_myTest_03(), and pyunittester.MyTestCase2.test_myTest_04().

◆ execAndConvertExceptionToBoolean() [2/2]

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).

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).

Referenced by KERNEL_PY.kernel.pyunittester.MyTestCase2.test_myTest_01(), KERNEL_PY.kernel.pyunittester.MyTestCase2.test_myTest_02(), KERNEL_PY.kernel.pyunittester.MyTestCase2.test_myTest_03(), and KERNEL_PY.kernel.pyunittester.MyTestCase2.test_myTest_04().

◆ run() [1/2]

def pyunittester.run (   testCaseClass)

◆ run() [2/2]

def KERNEL_PY.kernel.pyunittester.run (   testCaseClass)

Run the test suite provided by the specified TestCase class.

Run the test suite provided by the specified TestCase class.