pytest-dev / pytest-dev/pytest-html
Group results for better viewing with pytest-xdist
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 779
- Forks
- 260
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am currently running my tests with Appium and pytest-xdist, so basically the test flow is to run each test case on two different devices. After generating the pytest-html report, I see that each line of the report represents a function of my test (as we can see in the image below). Is there any way to group the tests by class? I think grouping the report by class would be more organized for people running tests in parallel :)

Thanks,
Rafael
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 concerns pytest-html reports produced while pytest-xdist runs tests across devices. Start by reproducing the reported report layout and inspect the report-generation path; done means results are grouped by test class without losing entries from parallel runs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100