pytest-html icon indicating copy to clipboard operation
pytest-html copied to clipboard

Split the results data in several tables ?

Open harmin-parra opened this issue 5 years ago • 1 comments
trafficstars

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>

harmin-parra avatar Apr 07 '20 09:04 harmin-parra

Rendering the report collapsed is already supported.

As for splitting the table based on module, feel free to open a PR. :)

BeyondEvil avatar Apr 07 '20 14:04 BeyondEvil