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

Notification

Icon
Error

Dot in function name confuses test window
mschinzpb
#1 Posted : Thursday, June 19, 2014 8:52:29 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/25/2014(UTC)
Posts: 7
Location: United Kingdom

Thanks: 1 times
Was thanked: 2 time(s) in 2 post(s)
When naming a function with a dot, the test overview window displays the test twice and reports a failure on the outer scope. An example is here:
https://github.com/think...nch-dot-in-functionname
Remco
#2 Posted : Thursday, June 19, 2014 9:38:42 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, thanks for reporting this.

NCrunch's ability to handle F# test names containing a period is a known problem. This is caused by some code in the test discovery step that is making an incorrect assumption about the structure of tests containing a period.

There's a fix for this available in a pre-release of 2.8 if you'd like to take it for a spin:

http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_GridNodeServer_2.8.0.4.zip
http://downloads.ncrunch.net/NCrunch_VS2008_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_VS2010_2.8.0.4.zip
http://downloads.ncrunch.net/NCrunch_VS2012_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_VS2012_2.8.0.4.zip
http://downloads.ncrunch.net/NCrunch_VS2013_2.8.0.4.msi
http://downloads.ncrunch.net/NCrunch_VS2013_2.8.0.4.zip

Cheers,

Remco
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.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download