pycram.testing
==============

.. py:module:: pycram.testing


Classes
-------

.. autoapisummary::

   pycram.testing.EmptyBulletWorldTestCase
   pycram.testing.BulletWorldTestCase
   pycram.testing.BulletWorldGUITestCase


Module Contents
---------------

.. py:class:: EmptyBulletWorldTestCase(methodName='runTest')

   Bases: :py:obj:`unittest.TestCase`


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


   .. py:attribute:: world
      :type:  pycram.worlds.bullet_world.BulletWorld


   .. py:attribute:: extension
      :type:  str


   .. py:attribute:: render_mode


   .. py:method:: setUpClass()
      :classmethod:


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



   .. py:method:: setUp()

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



   .. py:method:: tearDown()

      Hook method for deconstructing the test fixture after testing it.



   .. py:method:: tearDownClass()
      :classmethod:


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



.. py:class:: BulletWorldTestCase(methodName='runTest')

   Bases: :py:obj:`EmptyBulletWorldTestCase`


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


   .. py:attribute:: world
      :type:  pycram.worlds.bullet_world.BulletWorld


   .. py:attribute:: extension
      :type:  str


   .. py:method:: setUpClass()
      :classmethod:


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



.. py:class:: BulletWorldGUITestCase(methodName='runTest')

   Bases: :py:obj:`BulletWorldTestCase`


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


   .. py:attribute:: render_mode


