pytest-dev / pytest-dev/pytest-html
how can i realize append html result other than overwrite html result?
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
now I run 2 commmands:
pytest test1.py --html=report.html
pytest test2.py --html=report.html
finally, the second runned command which generate report.html will overwrite the first generated report.html, but i hope the two result can merged, that means report.html include test1.py and test2.py result, could you tell me how i can do that?thank you very much
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the pytest-html handling of the --html option and run the two commands shown in the issue to reproduce the overwrite. Determine whether combining results from separate pytest runs is supported or requires a design decision; done means one report.html contains both test1.py and test2.py results without the second run replacing the first.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100