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

Notification

Icon
Error

'Fail' if minimum coverage not met
maz100
#1 Posted : Thursday, September 6, 2012 10:07:28 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 6/1/2012(UTC)
Posts: 5
Location: Brighton, Uk

Was thanked: 2 time(s) in 2 post(s)
I would like to be able to set up a minimum required coverage percentage

If the overall coverage does not meet this requirement the NCrunch tray icon should show red and indicate the percentage covered

This should respect the 'exclude from metrics aggregation' settings.

This would be really useful as I use the tray icon as my primary indicator of whether my changes are good to check in.

Hopefully it wouldn't be a big change as we already have the information displayed in another place.

- failed tests should take precedence over insufficient coverage
- do we need a visual cue as to whether the number represents total failing tests or total coverage? or does clicking the tray icon take you to the tests window/metrics window as appropriate? this would be fine for me...

Thanks!
1 user thanked maz100 for this useful post.
GreenMoose on 9/19/2012(UTC)
Remco
#2 Posted : Thursday, September 6, 2012 8:43:11 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 956 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks for the suggestion! There are a number of people that use NCrunch as a way to try and encourage higher code coverage, so I have a feeling this will be quite a popular feature. I think the success of the feature will be much more down to the mechanics of how it actually works. One way could be to add an extra colour (purple?) to the tray icon, which would appear if the overall code coverage % fell below a certain point. The purple tray icon could also show the percentage inside it.

I'll put this on the backlog and have a bit more of a think about it. Thanks again for the suggestion.
Users browsing this topic
Guest
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.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download