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

Notification

Icon
Error

Lines covered by only passing tests should be unmarked, not marked green
Strilanc
#1 Posted : Tuesday, April 3, 2012 4:44:20 PM(UTC)
Rank: Member

Groups: Registered
Joined: 4/3/2012(UTC)
Posts: 17

Thanks: 1 times
Pointing out correctly tested lines is unnecessary. They don't need attention. Placing markers on them creates visual noise that distracts from important information, like lines covered by failing tests.

By analogy, it would be odd for the C# compiler to underline every syntactically correct expressions in green.

That being said, I do find the ability to trigger covering tests via the markers' context menu very useful. Making this change would require moving that functionality somewhere else.
Remco
#2 Posted : Tuesday, April 3, 2012 9:18:08 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, thanks for posting!

The usage of the green coverage markers is very much down to how you see your code and how you use NCrunch. I'm aware that some users prefer to set the green colour to the same as their editor background colour (so that they don't see the green markers). At this stage I have no plans to remove the green markers as the majority of developers seem to find them very useful (myself included).

Cheers,

Remco
1 user thanked Remco for this useful post.
Strilanc on 4/3/2012(UTC)
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.026 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download