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-108.0.tar.gz.

File metadata

File hashes

Hashes for avocado_framework_plugin_result_html-108.0.tar.gz
Algorithm Hash digest
SHA256 e082ad49f28b9ad16a79d465b60ad2430d522aee9d3edfc52ef53a4235b4a38b
MD5 ac871450280209c304b31121b97a339e
BLAKE2b-256 1af5bdd2c9f63db8c2387715ed6fbc8a85e33e8d59dbd5eb795e323776af829d

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for avocado_framework_plugin_result_html-108.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f1c55253aef1bb8397c4f8bf99f9e7a5bec2271a3f242afbfa5e82f323f15fe
MD5 c6cc0c7e9ea5afba7e6f7432448d7658
BLAKE2b-256 fad68ddfce8165596852a2c4268ee0c1d22ee7c16f5cb0daf3b9ec6ca0ce071a

See more details on using hashes here.

Provenance

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