Public Member Functions | |
| def | __init__ (self, randomize_suites=True, randomize_tests=True, seed=None) |
| def | start_suite (self, suite) |
| Called when suite starts. More... | |
| def | visit_keyword (self, kw) |
| Implements traversing through the keyword and its child keywords. More... | |
| def | visit_test (self, test) |
| Implements traversing through the test and its keywords. More... | |
Public Member Functions inherited from robotide.lib.robot.model.visitor.SuiteVisitor | |
| def | end_keyword (self, keyword) |
| Called when keyword ends. More... | |
| def | end_message (self, msg) |
| Called when message ends. More... | |
| def | end_suite (self, suite) |
| Called when suite ends. More... | |
| def | end_test (self, test) |
| Called when test ends. More... | |
| def | start_keyword (self, keyword) |
| Called when keyword starts. More... | |
| def | start_message (self, msg) |
| Called when message starts. More... | |
| def | start_test (self, test) |
| Called when test starts. More... | |
| def | visit_message (self, msg) |
| Implements visiting the message. More... | |
| def | visit_suite (self, suite) |
| Implements traversing through the suite and its direct children. More... | |
Public Attributes | |
| randomize_suites | |
| randomize_tests | |
| seed | |
Private Member Functions | |
| def | _get_message (self) |
Private Attributes | |
| _shuffle | |
Definition at line 21 of file randomizer.py.
| def robotide.lib.robot.running.randomizer.Randomizer.__init__ | ( | self, | |
randomize_suites = True, |
|||
randomize_tests = True, |
|||
seed = None |
|||
| ) |
Definition at line 23 of file randomizer.py.
|
private |
Definition at line 42 of file randomizer.py.
| def robotide.lib.robot.running.randomizer.Randomizer.start_suite | ( | self, | |
| suite | |||
| ) |
Called when suite starts.
Default implementation does nothing.
Can return explicit ``False`` to stop visiting.
Reimplemented from robotide.lib.robot.model.visitor.SuiteVisitor.
Definition at line 32 of file randomizer.py.
| def robotide.lib.robot.running.randomizer.Randomizer.visit_keyword | ( | self, | |
| kw | |||
| ) |
Implements traversing through the keyword and its child keywords.
Can be overridden to allow modifying the passed in ``kw`` without
calling :func:`start_keyword` or :func:`end_keyword` nor visiting
child keywords.
Reimplemented from robotide.lib.robot.model.visitor.SuiteVisitor.
Definition at line 52 of file randomizer.py.
| def robotide.lib.robot.running.randomizer.Randomizer.visit_test | ( | self, | |
| test | |||
| ) |
Implements traversing through the test and its keywords.
Can be overridden to allow modifying the passed in ``test`` without
calling :func:`start_test` or :func:`end_test` nor visiting keywords.
Reimplemented from robotide.lib.robot.model.visitor.SuiteVisitor.
Definition at line 49 of file randomizer.py.
|
private |
Definition at line 30 of file randomizer.py.
| robotide.lib.robot.running.randomizer.Randomizer.randomize_suites |
Definition at line 24 of file randomizer.py.
| robotide.lib.robot.running.randomizer.Randomizer.randomize_tests |
Definition at line 25 of file randomizer.py.
| robotide.lib.robot.running.randomizer.Randomizer.seed |
Definition at line 26 of file randomizer.py.