pytest-dev / pytest-dev/pytest-html

Split the results data in several tables ?

Open
#291 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Enhancement suggestion

Instead of having a gigantic HTML table with all the results, could we split that table and produce a separate HTML table per module ?

That will improve the readability of the test report

It would also be nice to have all the details collapsed in the beginning right just after the page is loaded (init function).

I was thinking of something like this :

<h2>Results</h2>

<h3> 1st module </h3>
<table> 1st module results </table>

<h3> 2nd module </h3>
<table> 2nd module results </table>

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

Start by locating the HTML report generation entry point and its init function. Review how results are currently assembled into one table, then verify that each module has its own table and that the details are collapsed immediately after page load; confirm the report remains readable and functional.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.