Daily Usage Issues

Dot in function name confuses test window

Started by mschinzpb on 4,892 views

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/thinktainer/ncrunch-dot-in-functionname
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

Post a reply

Log in to reply.