Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Possible to hide 100%-covered nodes in statistics?
Peter Mounce
#1 Posted : Thursday, January 9, 2014 10:55:55 AM(UTC)
Rank: Member

Groups: Registered
Joined: 1/18/2012(UTC)
Posts: 15
Location: London, UK

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
NCrunch has helped us maintain high coverage (combined with TeamCity's failure-conditions, that fire when coverage drops below the previous build).

However, when builds are failing because of our failure-condition, hunting for places to add coverage to go green again is a bit labourious. It would be nice if there were a way to hide 100%-covered items from the NCrunch Metrics pane, so I could zero in on missing coverage.
Remco
#2 Posted : Friday, January 10, 2014 11:09:16 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi Peter -

It's great to hear that your coverage is high enough for the 100% values to be getting in the way :)

Before looking at implementing a specialised feature such as this, I'm wondering if I can suggest sorting the Metrics View descending by the 'Uncovered lines' column. You might find this is a useful way to identify areas of the solution that are lacking in code coverage. Does this help at all?
Peter Mounce
#3 Posted : Friday, January 10, 2014 4:01:37 PM(UTC)
Rank: Member

Groups: Registered
Joined: 1/18/2012(UTC)
Posts: 15
Location: London, UK

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
No - that doesn't help :-(

We have too many nodes and too much clicking for that to be workable. It's complicated by dotCover in TeamCity being slightly different from NCrunch, too, sometimes.
Remco
#4 Posted : Friday, January 10, 2014 11:21:13 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Thanks, I'll see what I can do.
Unger
#5 Posted : Thursday, January 23, 2014 10:23:46 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/19/2013(UTC)
Posts: 9
Location: Austria

Was thanked: 3 time(s) in 3 post(s)
Hi Remco!

In Version 1.48 it was possible to define a Filter in Metrics-Window to display only rows which passes the filter. Why is this function in 2.x not longer available?
Remco
#6 Posted : Thursday, January 23, 2014 10:27:59 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi Unger -

V2 included a complete replacement of the grid component, for a huge range of reasons. I wasn't aware that the filters on this component were actually working correctly in the Metrics view (when I last tested them, they didn't work).

Can I take your post as a suggestion that you would like to see the 100% filter option also?


Cheers,

Remco
Unger
#7 Posted : Tuesday, January 28, 2014 11:00:29 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 7/19/2013(UTC)
Posts: 9
Location: Austria

Was thanked: 3 time(s) in 3 post(s)
Hi Remco,

yes, this option would be nice. But it would be much more nicer to allow the user to specify the "threshold" by themselves instead of a fix-value of 100%.

The filter-function in the past was absolutely sufficient for my needs. I didn't saw any problems with it.

Regards,
Unger
1 user thanked Unger for this useful post.
Remco on 1/28/2014(UTC)
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.039 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download