pytest-dev / pytest-dev/pytest-html
Pytest Jenkins report failure and skip messages are corrupt in version
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
I'm not sure why, but after upgrading version 2.1.1 to 3.1.1 the jenkins report fail, skip and xfail messages corrupt.
As can be seen from the screenshots below, only the plugging version is different in my setup:
[tool.pytest.ini_options]
addopts = '--html=reports/report.html --self-contained-html --junitxml=reports/jreport.xml --color=yes --tb=native -l --code-highlight=yes'
junit_family='xunit2'
Report in version 2.1.1

Report in version 3.1.1

looks like the issue started at version 3.0.0
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 reproducing the issue with the shown pytest configuration and compare the Jenkins reports produced by versions 2.1.1 and 3.1.1, focusing on fail, skip, and xfail messages. Done means those messages render correctly in the generated report and the behavior is covered by a regression check.
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
- 25/100