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(config)¶
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¶
Bases:
avocado.core.plugin_interfaces.Result
ResultsDB render class
- description = 'Resultsdb result support'¶
- name = 'resultsdb'¶
- render(result, job)¶
Entry point with method that renders the result.
This will usually be used to write the result to a file or directory.
- Parameters
result (
avocado.core.result.Result
) – the complete job resultjob (
avocado.core.job.Job
) – the finished job for which a result will be written
- class avocado_resultsdb.ResultsdbResultEvent(config)¶
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.