Very much liking NCrunch, but having problems with odd failures and passes.
Getting a pass for both the following MSpec tests:
It should_give_a_message_of__Columns_must_be_greater_than_0__ = () => the_exception.ShouldBeNull();
It should_give_an_argument_exception = () => the_exception.ShouldBeOfType<ArgumentException>();
Example at this git commit:
https://github.com/i-e-b/ZPins/commit/af41e9229db5854021a28ba3a575526112884f04
Have got quite a few incorrect fails where NCrunch is failing to see a change, requiring a full clean & rebuild to get tests running.
Thanks.
P.S. This forum system is terrible.
Daily Usage Issues
Impossible pass AND fail?
Started by yet-another-account-for-bug-reports on 8,143 views
Remco NCrunch Developer
#557
24 Oct 2011 21:08 UTC
Hi, thanks for posting! I'll take a look at the code you've posted and will get back to you on the pass/fail issue. If you haven't already, would you be able to submit a bug report the next time you see a build failing when it isn't supposed to? This will provide a bit more information to help create/solve this issue.
Cheers,
Remco
Cheers,
Remco
Remco NCrunch Developer
#569
05 Nov 2011 04:04 UTC
Sorry for the delay in looking at this issue. I've confirmed that this is an NCrunch defect triggered by the use of the quotation __ syntax in MSpec. Basically, any MSpec tests that are named using this syntax will pass abnormally.
A fix will be in the next NCrunch revision.
A fix will be in the next NCrunch revision.
Post a reply
Log in to reply.