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

Notification

Icon
Error

Renamed files losing coverage
witchdrash
#1 Posted : Thursday, April 13, 2017 12:59:23 PM(UTC)
Rank: Member

Groups: Registered
Joined: 8/28/2012(UTC)
Posts: 11
Location: Manchester

Thanks: 1 times
I've used resharper to rename 2 files and the coverage has been completely lost for these, I have restarted visual studio, forced ncrunch to rebuild the projects, turned off instrumentation and turned it back on, finally I've completely reinstalled it and deleted it's directories in appdata/local and these files still remain uncovered, even though it is running the tests.

Any help would be appreciated because it's getting a bit frustrating :/

Images:
https://1drv.ms/i/s!Anj-bjUsKjcrgrwXbmwZLXi19ZNc7w
https://1drv.ms/i/s!Anj-bjUsKjcrgrwWhRKf6a9C_bT1hQ
https://1drv.ms/i/s!Anj-bjUsKjcrgrwYPpIpvav8j3kLKg
Remco
#2 Posted : Thursday, April 13, 2017 11:59:00 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 sharing this problem.

Can you try deleting the contents of the _NCrunch_SOLUTION directory (adjacent to your solution file) with the engine disabled to see if this resolves the problem?
damianh
#3 Posted : Saturday, April 15, 2017 8:39:20 AM(UTC)
Rank: Member

Groups: Registered
Joined: 5/5/2014(UTC)
Posts: 23
Location: Netherlands

Thanks: 2 times
Was thanked: 4 time(s) in 4 post(s)
I'm seeing a different UI glitch when renaming type and file via resharper - double, treble etc coverage dots. Closing the file and re-opening resets it.

http://i.imgur.com/MwfYdOQ.png
http://i.imgur.com/M3alpcQ.png
http://imgur.com/9wciUe7.png
Remco
#4 Posted : Saturday, April 15, 2017 8:54:27 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)
Thanks. Did clearing the cache file resolve the other problem?

I've also had another user report the duplication of coverage markers. This looks to be an issue with the coverage bar mounting system. I haven't pinned it down yet. Are you able to reproduce this? If so, could you submit a bug report straight after you've had it happen?

Also, do you have any other 3rd party VS packages installed?
witchdrash
#5 Posted : Tuesday, April 18, 2017 9:45:04 AM(UTC)
Rank: Member

Groups: Registered
Joined: 8/28/2012(UTC)
Posts: 11
Location: Manchester

Thanks: 1 times
That worked!

Thank you very much :D
Remco
#6 Posted : Tuesday, April 18, 2017 11:27:48 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)
witchdrash;10289 wrote:
That worked!

Thank you very much :D


Thanks! Do let me know if you learn more about this marker duplication problem. I've very much like to fix it :)
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.042 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download