Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pytest_html_merger #150

Open
akavbathen opened this issue Mar 20, 2022 · 2 comments
Open

pytest_html_merger #150

akavbathen opened this issue Mar 20, 2022 · 2 comments

Comments

@akavbathen
Copy link

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!

@JainSiddhant
Copy link

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/

@akavbathen
Copy link
Author

akavbathen commented Apr 2, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants