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

Notification

Icon
Error

Coverage markers going missing partway through methods
Andy C
#1 Posted : Wednesday, March 20, 2013 9:39:46 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/20/2013(UTC)
Posts: 2
Location: United Kingdom

Hi,
I'm seeing an issue where the coverage markers just disappear partway through methods:

Partway through the code under test:


Partway through the test code:


These are NUnit tests, and all the tests for this project pass when run manually, in less than a couple of seconds.

I've followed the steps here, but it didn't get any better.

Any ideas?
Andy
Remco
#2 Posted : Wednesday, March 20, 2013 9:25:20 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)
Hi, thanks for posting!

This looks like a mapping/sync issue between the coverage information and the source file.

A known bug exists in 1.44 (and prior) which can cause an issue like this. A fix is pending in the upcoming 1.45 release.

Does a reset (disable/enable) of the engine fix up the coverage alignment? Or is the issue always persistently there?
Andy C
#3 Posted : Thursday, March 21, 2013 8:23:41 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/20/2013(UTC)
Posts: 2
Location: United Kingdom

Remco;3856 wrote:
Does a reset (disable/enable) of the engine fix up the coverage alignment? Or is the issue always persistently there?


The issue is persistent, with the caveat that occasionally, I seem to get black dots (which never turn green) instead of no dots.

lol, whilst typing my response, the dots went green! I guess it isn't persistent.

I look forward to 1.45. :-)

Andy
Remco
#4 Posted : Thursday, March 21, 2013 10:09:44 AM(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)
Hi Andy -

The only issues that I currently know of that can produce this kind of effect show themselves only infrequently, so I suspect this may be something new ..

Straight after you've noticed it happening, would you mind submitting a bug report? I'd really like to take a look at the log file.


Cheers,

Remco
Remco
#5 Posted : Saturday, March 30, 2013 10:16:10 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)
For anyone interested, a fix for this problem has been introduced with the newly released version of NCrunch (v1.45).
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.038 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download