Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
example_test.TestScenario Class Reference
Inheritance diagram for example_test.TestScenario:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self, debug_exceptions=False)
 
def start_scenario (self, scenario)
 
def stop (self)
 
def test_all (self)
 
def test_happy_flow (self)
 
def test_unhappy_flow (self)
 

Public Attributes

 arm
 
 debug_exceptions
 
 dock
 
 human_to_robot_speech
 
 move_base
 
 say
 

Private Member Functions

def _available_test_methods (self)
 
def _start_scenario (self, request)
 

Private Attributes

 _start_scenario_srv
 

Detailed Description

Definition at line 69 of file example_test.py.

Constructor & Destructor Documentation

def example_test.TestScenario.__init__ (   self,
  debug_exceptions = False 
)

Definition at line 70 of file example_test.py.

Member Function Documentation

def example_test.TestScenario._available_test_methods (   self)
private

Definition at line 126 of file example_test.py.

def example_test.TestScenario._start_scenario (   self,
  request 
)
private

Definition at line 129 of file example_test.py.

def example_test.TestScenario.start_scenario (   self,
  scenario 
)

Definition at line 134 of file example_test.py.

def example_test.TestScenario.stop (   self)

Definition at line 151 of file example_test.py.

def example_test.TestScenario.test_all (   self)

Definition at line 236 of file example_test.py.

def example_test.TestScenario.test_happy_flow (   self)
The robot is told to go charge.
It should then navigate to a position close to the charger,
call the dock-service then uses it's arm to plug itself in and say something when
finally getting some juice from the charger.

Definition at line 158 of file example_test.py.

def example_test.TestScenario.test_unhappy_flow (   self)
The robot is told to go charge.
It should then navigate to a position close to the charger.
call the dock-service then uses it's arm to plug itself in and say something when
finally getting some juice from the charger.

However, the docking fails first so the robot retries and then the arm fails at first,
so the robot says something about it's arm and then retries

Definition at line 186 of file example_test.py.

Member Data Documentation

example_test.TestScenario._start_scenario_srv
private

Definition at line 120 of file example_test.py.

example_test.TestScenario.arm

Definition at line 94 of file example_test.py.

example_test.TestScenario.debug_exceptions

Definition at line 71 of file example_test.py.

example_test.TestScenario.dock

Definition at line 105 of file example_test.py.

example_test.TestScenario.human_to_robot_speech

Definition at line 73 of file example_test.py.

example_test.TestScenario.move_base

Definition at line 86 of file example_test.py.

example_test.TestScenario.say

Definition at line 75 of file example_test.py.


The documentation for this class was generated from the following file:


scenario_test_tools
Author(s): Loy van Beek
autogenerated on Wed Apr 7 2021 03:03:18