code-maven.com
code-maven.com copied to clipboard
pytest_html_merger
https://code-maven.com/combine-pytest-reports
Hi 👋
I have decided to develop a utility that is able to merge several pytest-html reports. Very useful to those running pytest suites in parallel and want to combine the reports later.
Check it out: https://github.com/akavbathen/pytest_html_merger
Please open an Issue or contribute directly by creating a PR
Enjoy!
Good Work.. I am facing an issue while using it.
pytest_html_merger -i reports/ -o reports/report.html (base) siddhanj-mac:reports siddhanj$ ls test1.html test2.html
I see following error ;
(base) siddhanj-mac:reports siddhanj$ pytest_html_merger -i reports/ -o reports/report.html
Traceback (most recent call last):
File "/Users/siddhanj/anaconda3/bin/pytest_html_merger", line 8, in
Hi,
Thanks for your email. Could you please send me ls output on reports directory? Looks like test1.html and test2.html are located under CWD which is one level above reports directory.
Best Regards, Bat Hen
On Fri, 1 Apr 2022 at 23:18 JainSiddhant @.***> wrote:
Good Work.. I am facing an issue while using it.
pytest_html_merger -i reports/ -o reports/report.html (base) siddhanj-mac:reports siddhanj$ ls test1.html test2.html
I see following error ; (base) siddhanj-mac:reports siddhanj$ pytest_html_merger -i reports/ -o reports/report.html Traceback (most recent call last): File "/Users/siddhanj/anaconda3/bin/pytest_html_merger", line 8, in sys.exit(main()) File "/Users/siddhanj/anaconda3/lib/python3.7/site-packages/pytest_html_merger/main.py", line 185, in main merge_html_files(args.input, args.output) File "/Users/siddhanj/anaconda3/lib/python3.7/site-packages/pytest_html_merger/main.py", line 22, in merge_html_files raise RuntimeError(f"Was unable to find html files in {in_path}") RuntimeError: Was unable to find html files in reports/
— Reply to this email directly, view it on GitHub https://github.com/szabgab/code-maven.com/issues/150#issuecomment-1086289678, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVG42WHVY2FPCO2BQFT3NHDVC5K2TANCNFSM5RFR4GZA . You are receiving this because you authored the thread.Message ID: @.***>