Bases: morse.testing.testing.MorseTestCase
This subclass of MorseTestCase can be used to test MORSE handles properly ill-constructed Builder scripts.
It will fail if the Blender Game Engine get started.
Bases: morse.testing.testing.MorseTestCase
This subclass of MorseTestCase can be used to check for moving actuator, basically by testing a complete pose
the tested robot is called ‘robot’
the pose sensor is called ‘robot.pose’
Bases: unittest.case.TestCase
Overwrite unittest.TestCase::run
Detect KeyBoardInterrupt exception , due to user or a SIGINIT In particular, it can happen if we detect an exception in the Morse execution. In this case, clean up correctly the environnement.
This method must be overloaded by subclasses to define a simulation environment.
The code must follow the Builder API convention (without the import of the morsebuilder module which is automatically added).
This method can be overloaded by subclasses to define environment setup, before the launching of the Morse environment pass
Bases: unittest.runner.TextTestRunner
Really emulate tail -f
See http://stackoverflow.com/questions/1475950/tail-f-in-python-with-no-time-sleep for a detailled discussion on the subject