pytest-html allows to generate an html report from pytest results. It is invoked via the command-line option "--html".
pytest-html
is a pytest plugin which allows to generate an html report from pytest results, additionally to the xml report provided by pytest itself. It is invoked via the command-line option --html==<report-location>
and can be configured via additional options and pytest hooks.
Reference: