avocado_resultsdb package¶
Module contents¶
Avocado Plugin to propagate Job results to Resultsdb
-
class
avocado_resultsdb.
ResultsdbCLI
¶ Bases:
avocado.core.plugin_interfaces.CLI
Propagate Job results to Resultsdb
-
configure
(parser)¶ Configures the command line parser with options specific to this plugin
-
description
= "Resultsdb options for 'run' subcommand"¶
-
name
= 'resultsdb'¶
-
run
(args)¶ Execute any action the plugin intends.
Example of action may include activating a special features upon finding that the requested command line options were set by the user.
Note: this plugin class is not intended for adding new commands, for that please use CLICmd.
-
-
class
avocado_resultsdb.
ResultsdbResult
(args)¶ Bases:
avocado.core.plugin_interfaces.ResultEvents
ResultsDB output class
-
description
= 'Resultsdb result support'¶
-
end_test
(result, state)¶ Create the ResultsDB result, which corresponds to one test from the Avocado Job
-
name
= 'resultsdb'¶
-
post_tests
(job)¶ Entry point for job running actions after the tests execution
-
pre_tests
(job)¶ Create the ResultsDB group, which corresponds to the Avocado Job
-
start_test
(result, state)¶ Event triggered when a test starts running
-
test_progress
(progress=False)¶ Interface to notify progress (or not) of the running test
-