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

Notification

Icon
Error

Outdated/incorrect coverage markers.
GreenMoose
#1 Posted : Friday, May 23, 2014 11:47:16 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 6/17/2012(UTC)
Posts: 507

Thanks: 145 times
Was thanked: 66 time(s) in 64 post(s)
vstudio 2012/NCrunch v2.7.0.5

I noticed today test failures due to nullref exceptions but the code they were supposed to fail on were green.
Also as seen in screenshot the coverage marker is even on line existing of a code comment so I guess somehow the coverage got out of sync (I submitted bug report). Known issue?

Code is like below:

Code:

                 //We only want...            
                _someType.SomeMethod(obj1,
                        task.ActivateProp,
                        null,
                        customer);


incorrect coverage
Remco
#2 Posted : Friday, May 23, 2014 9:52:40 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 957 times
Was thanked: 1286 time(s) in 1193 post(s)
Thanks for sharing this, along with the bug report.

I've seen this before, but only while using distributed processing.

My theory is that somehow there is a mapping synchronisation problem that can appear between the grid node and the client. It's rare, and resetting the engine usually gets rid of it immediately.

Because of its intermittent nature, I have a feeling this will be hard to track down. It may be related to connection handling with the node (i.e. recent disconnection?). Let me know if you manage to narrow it down further or figure out any way to reproduce it consistently.
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.020 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download