prashanth-sams / pytest-html-reporter

Generates a static html report based on pytest framework
MIT License
120 stars 37 forks source link

Add test coverage #203

Open RoyFlo360 opened 2 years ago

RoyFlo360 commented 2 years ago

I think a good feature for the reporter that I haven't seen in others is adding the test coverage. Maybe a cake graph with the percentage, or a circle percentage bar like this: image

Or maybe mix the html coverage report that the coverage library has with this reporter that will be amazing, or maybe putting a section for coverage or inside the test metrics button that will help

image

prashanth-sams commented 2 years ago

@RoyFlo360 Thank you for the ideas; I would love to do it but I wish to know more in details. We have slack to discuss about it and to take this feature ahead - if you wish to join, please let me know.

arist0v commented 1 year ago

Hello, i was looking into this also, in fact i would like to add (or maybe you could just use this plugin to generate the reports or and link it the html reporter ui (https://pytest-cov.readthedocs.io/en/latest/index.html))

so it would be nice if we can : A. Customize the html reporter menu so we could add link to other page of our choice B. with the help of the pytest-cov module, add report to pytest html reporter

i could come on slack to discuss it with you if you wish to!