nedbat / coveragepy

The code coverage tool for Python
https://coverage.readthedocs.io
Apache License 2.0
3.03k stars 435 forks source link

Tree view for HTML report #263

Open nedbat opened 11 years ago

nedbat commented 11 years ago

Originally reported by Remi Rampin (Bitbucket: remram44, GitHub: remram44)


I would very much like the HTML report to have a tree view, that would show aggregated totals for packages consisting of several modules.

Might work on it if I get the time.


nedbat commented 11 years ago

Original comment by Remi Rampin (Bitbucket: remram44, GitHub: remram44)


I'm working on this in pull request 27.

boris-42 commented 4 years ago

@nedbat nice! do you need some help?

remram44 commented 4 years ago

The frontend was completely rewritten since, so the pull request is no longer relevant. But the issue might be :wink:

ProsperousHeart commented 1 year ago

Was this ever addressed @nedbat ?

nedbat commented 1 year ago

There is still no tree view in the HTML report, no.

Hyperclaw79 commented 2 months ago

@nedbat Been year and a half, are there any updates on this? Is it at least there on the roadmap? Jest (for javascript) does a wonderful job and could possibly be taken as reference for the frontend.

nedbat commented 2 months ago

There are no updates, and there isn't a roadmap. I maintain this project in my spare time, so the effort waxes and wanes with my interest. If someone wants to build this feature, I can help guide them to get it landed.

Hyperclaw79 commented 2 months ago

Thanks for the reply @nedbat. I think it's something I can look into and raise a PR on. Please point me towards where to get started. :) In the meantime, I'll go through the contrib guide.

nedbat commented 2 months ago

The place to start is with a design of how it should work. Is it a configuration option? Or something that can be toggled in the report? Are there edge cases to consider?

The file to look at is coverage/html.py