avocado_robot package¶
Submodules¶
avocado_robot.runner module¶
Avocado nrunner for Robot Framework tests
-
class
avocado_robot.runner.
RobotRunner
(runnable)¶ Bases:
avocado.core.nrunner.BaseRunner
-
run
()¶ Runner main method
Yields dictionary as output, containing status as well as relevant information concerning the results.
-
-
class
avocado_robot.runner.
RunnerApp
(echo=<built-in function print>, prog=None, description=None)¶ Bases:
avocado.core.nrunner.BaseRunnerApp
-
PROG_DESCRIPTION
= '*nrunner application for robot tests'¶
-
PROG_NAME
= 'avocado-runner-robot'¶
-
RUNNABLE_KINDS_CAPABLE
= {'robot': <class 'avocado_robot.runner.RobotRunner'>}¶
-
-
avocado_robot.runner.
main
()¶
Module contents¶
Plugin to run Robot Framework tests in Avocado
-
class
avocado_robot.
RobotResolver
(config=None)¶ Bases:
avocado.core.plugin_interfaces.Resolver
-
description
= 'Test resolver for Robot Framework tests'¶
-
name
= 'robot'¶
-
static
resolve
(reference)¶ Resolves the given reference into a reference resolution.
Parameters: reference (str) – a specification that can eventually be resolved into a test (in the form of a avocado.core.nrunner.Runnable
)Returns: the result of the resolution process, containing the success, failure or error, along with zero or more avocado.core.nrunner.Runnable
objectsReturn type: avocado.core.resolver.ReferenceResolution
-
-
avocado_robot.
find_tests
(reference, test_suite)¶