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

Notification

Icon
Error

Bug using Machine.Specifications
Jason Krell
#1 Posted : Wednesday, March 6, 2013 4:13:03 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/6/2013(UTC)
Posts: 1
Location: United States of America

I encountered a bug using Machine.Specifications where certain test specifications fail. I believe it has to do with using a type name in the specification name followed by "_s", but that is pure speculation. Using a capital "S" makes the test pass. I have included a simple example with passing and failing specifications in the Gist linked below. The tests pass in all other runners (ReSharper mainly) that I have tried.

Bug Repro Gist

Thanks for looking into it. Hope this helps someone else, it was a strange one to diagnose.
Remco
#2 Posted : Wednesday, March 6, 2013 8:28:08 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
Hi Jason,

Thanks for taking the time to report this. It looks like a hole in the MSpec name parsing. I'll see that it gets fixed.


Cheers,

Remco
Remco
#3 Posted : Saturday, March 30, 2013 9:42:10 PM(UTC)
Rank: NCrunch Developer

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

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 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.031 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download