Skip to main content

Avocado HTML Report for Jobs

Project description

This optional plugin creates beautiful human readable results.

To install the HTML plugin from pip, use:

$ pip install avocado-framework-plugin-result-html

Once installed it produces the results in job results dir:

$ avocado run avocado/examples/tests/sleeptest.py avocado/examples/tests/failtest.py
JOB ID     : 480461f676fcf2a8c1c449ca1252be9521ffcceb
JOB LOG    : $HOME/avocado/job-results/job-2021-09-30T16.02-480461f/job.log
(2/2) avocado/examples/tests/failtest.py:FailTest.test: STARTED
(1/2) avocado/examples/tests/sleeptest.py:SleepTest.test: STARTED
(2/2) avocado/examples/tests/failtest.py:FailTest.test: FAIL: This test is supposed to fail (0.04 s)
(1/2) avocado/examples/tests/sleeptest.py:SleepTest.test: PASS (1.01 s)
RESULTS    : PASS 1 | ERROR 0 | FAIL 1 | SKIP 0 | WARN 0 | INTERRUPT 0 | CANCEL 0
JOB HTML   : $HOME/avocado/job-results/job-2021-09-30T16.02-480461f/results.html
JOB TIME   : 2.76 s

This can be disabled via --disable-html-job-result. One can also specify a custom location via --html . Last but not least --open-browser can be used to start browser automatically once the job finishes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

File details

Details for the file avocado-framework-plugin-result-html-104.0.tar.gz.

File metadata

File hashes

Hashes for avocado-framework-plugin-result-html-104.0.tar.gz
Algorithm Hash digest
SHA256 975b2013700e7b8d1af5789fb00b38f13f466d0a7e0d3e3afc5e90556490b2d2
MD5 567de63fd78989124028e199e84bff5f
BLAKE2b-256 32a164e112e7334b88629f04b631afbb69f251f5d867b7ace07e2ffe4305c7cb

See more details on using hashes here.

File details

Details for the file avocado_framework_plugin_result_html-104.0-py3-none-any.whl.

File metadata

File hashes

Hashes for avocado_framework_plugin_result_html-104.0-py3-none-any.whl
Algorithm Hash digest
SHA256 00778ef3788bcde86485890abbe2ff7abe7de0daa6cd7d17ef483107374412bb
MD5 ee862fa3feb48b714411b4019c19a313
BLAKE2b-256 449eca8e4eda1b61e89259ce1e92b63cf9dac03ace1674d95e0c077b1ad31fc2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page