pytest-dev / pytest-dev/pytest-html
Generate partial HTML report on abort
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
We are running into a situation with the combination of pytest-repeat and pytest-html where we repeat a test n times yet if aborted (for example by Jenkins) no HTML report is generated. This occurs even if n - 1 iterations ran successfully and pytest execution was only aborted during the last iteration. I welcome any suggestions/solutions that I can implement myself (for example in conftest.py).
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
The issue mentions pytest-repeat, pytest-html, Jenkins, and a possible conftest.py workaround. Start by reproducing an aborted repeated run and inspect the pytest configuration and plugin interaction. Done means an abort still produces a partial HTML report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing-qa
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100