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

Notification

Icon
Error

Hyperlinks in test failures point to NCrunch copy of the file
kalebpederson
#1 Posted : Thursday, May 31, 2012 8:46:22 PM(UTC)
Rank: Member

Groups: Registered
Joined: 2/1/2012(UTC)
Posts: 25
Location: US

Thanks: 5 times
Was thanked: 3 time(s) in 3 post(s)
When I disable instrumentation of the test assemblies the hyperlinks generated on a test error result in a link to NCrunch's version of the file:

Code:
System.Exception : An error occurred in Method: The given key was not present in the dictionary.
   at MyTest.TestMethod() in c:\users\kpederson\appdata\local\ncrunch\8412\9\src\MyProject.Test\MyTest.cs:line 51


Thanks.

--Kaleb
Remco
#2 Posted : Thursday, May 31, 2012 9:06:57 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Kaleb -

Yes - this makes sense. The instrumentation step is also responsible for rewriting the assembly so that the links will point back to the original source code. Thanks for reporting this issue.
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.021 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download