pytest_html_merger
pytest_html_merger copied to clipboard
pytest_html_merger
This utility will merge all of your pytest
HTML reports into a single HTML report.
usage
installation
pip install pytest-html-merger
running
usage: pytest_html_merger [-h] [--version] [-i INPUT] [-o OUTPUT] [-t TITLE]
Merges .html reports from created by pytest-html plugin.Will assume css is embedded in the reports. If this is not the case, Please make sure that you have 'assets' directory inside input directory which contains css files generated by pytest-html.
optional arguments:
-h, --help show this help message and exit
--version, -v show program's version number and exit
-i INPUT, --input INPUT directory containing the input .html files (default is cwd)
-o OUTPUT, --output OUTPUT path to create output file (default is ./merged.html)
-t TITLE, --title TITLE title of the merged report (default is output file name)
example
pytest_html_merger -i /path/to/your/html/reports -o /path/to/output/report/merged.html
Enjoy merging reports!