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

Notification

Icon
Error

Impossible pass AND fail?
yet-another-account-for-bug-reports
#1 Posted : Monday, October 24, 2011 7:57:10 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/24/2011(UTC)
Posts: 1

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...1a28ba3a575526112884f04

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.
Remco
#2 Posted : Monday, October 24, 2011 9:08:48 PM(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 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
Remco
#3 Posted : Saturday, November 5, 2011 4:04:50 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)
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.
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.026 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download