-
-
Notifications
You must be signed in to change notification settings - Fork 448
Add a way to sort the text report #199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
|
Original comment by bachmann1234 (Bitbucket: bachmann1234, GitHub: bachmann1234) I took a look into this ticket. The currently implementation does not store coverage numbers. They are computed by the fly. It seems expensive to compute and store all this to sort on other properties and this could be better achieved though command line tools or other post processing. |
FYI, changeset b7762d1a6614 (bb) introduced the |
Control over the sorting column is available in the report:sort option in the .coveragerc. This work is completed in f4001cd0cd52 (bb). It doesn't provide the option to sort descending, or to control it from the command line. We'll see if there is interest in adding that support. |
Original comment by Max Nordlund (Bitbucket: maxnordlund, GitHub: maxnordlund) Fast forward a year later, and at least I would like to see that feature. I tend to run my tests in a small split, and getting the files with the lowest coverage last makes it easy to see what I need to work on. I propose |
I have made a couple of changes to source code and it seems working (I haven't done broad tests 😉 )
and the
|
@nedbat Any update on this feature? Why this issue was closed? |
I closed it when I added |
Yeah, I will try my best to make a PR asap. |
Hi Ned,
The HTML output looks very good, however I’m running the coverage tool on a VMware and just want to mail the output as plain text to my colleagues.
Sending all those HTML files to all of them (or copy them to a server) is too much, so I need another trick - maybe just a python filter that sorts it out.
Thanks for your time!
Rob
From: Ned Batchelder [mailto:[email protected]]
Sent: Friday, September 28, 2012 14:56
To: Tillaart, Rob van den
Subject: Re: question about coverage tool
Hi Rob,
In the HTML report, you can click on the column headers to sort by the column you're interested in.
--Ned.
On 9/28/2012 7:33 AM, Tillaart, Rob van den wrote:
The text was updated successfully, but these errors were encountered: