pycram.testing#

Classes#

EmptyBulletWorldTestCase

Base class for unit tests that require and ordinary setup and teardown of the empty bullet-world.

BulletWorldTestCase

Class for unit tests that require a bullet-world with a PR2, kitchen, milk and cereal.

BulletWorldGUITestCase

Class for unit tests that require a bullet-world with a PR2, kitchen, milk and cereal.

Module Contents#

class pycram.testing.EmptyBulletWorldTestCase(methodName='runTest')#

Bases: unittest.TestCase

Base class for unit tests that require and ordinary setup and teardown of the empty bullet-world.

world: pycram.worlds.bullet_world.BulletWorld#
extension: str#
render_mode#
classmethod setUpClass()#

Hook method for setting up class fixture before running tests in the class.

setUp()#

Hook method for setting up the test fixture before exercising it.

tearDown()#

Hook method for deconstructing the test fixture after testing it.

classmethod tearDownClass()#

Hook method for deconstructing the class fixture after running all tests in the class.

class pycram.testing.BulletWorldTestCase(methodName='runTest')#

Bases: EmptyBulletWorldTestCase

Class for unit tests that require a bullet-world with a PR2, kitchen, milk and cereal.

world: pycram.worlds.bullet_world.BulletWorld#
extension: str#
classmethod setUpClass()#

Hook method for setting up class fixture before running tests in the class.

class pycram.testing.BulletWorldGUITestCase(methodName='runTest')#

Bases: BulletWorldTestCase

Class for unit tests that require a bullet-world with a PR2, kitchen, milk and cereal.

render_mode#