pytest-dev / pytest-dev/pytest-html

Improve pytest-html screen real-estate usage

Open
#212 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement proposal
Dominant language
Python
Stars
779
Forks
260
PR merge metrics
No merged PRs in 30d

Description

Currently pytest-html report is wasting a huge amount of valuable screen space with boilerplace stuff, which most of the time are of no use to the user. In 99% of the cases the user that opens a report is doing it because a test failed, so he should not have to scroll down in order to find out which test failed.

I proposed few changes in the annotated screenshot I made in order to get some feedback from project maintainers regarding if they want these feature or not. Once I get the feedback I can work on making a PR to improve the output.
pytest-html-report-improve

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the annotated screenshot and the proposed screen-space changes in the issue body first. Seek maintainer feedback on the desired report layout before locating implementation files; the work is done when an agreed design is implemented and the report presents failed tests without the described unnecessary scrolling.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.