August 2018
Beginner
160 pages
4h 8m
English
pytest-html generates beautiful HTML reports of your test results. After installing the plugin, simply run this:
λ pytest --html=report.html
This will generate a report.html file at the end of the test session.
Because pictures speak louder than words, here is an example:

The reports can be served in a web server for easier viewing, plus they contain nice functionality such as checkboxes to show/hide different types of test results, and other plugins such as pytest-selenium are even able to attach screenshots to failed tests, as in the previous image.
It's definitely worth checking out.
Read now
Unlock full access