Crunch
About
Pricing
Documentation
News
Support
Download
Customer Login
Welcome Guest! To enable all features please
Login
or
Register
.
Forum
Active Topics
Search
Login
Register
Notification
Error
OK
NCrunch Forum
»
General Support
»
Build/Test Issues
»
NUnit Assert.Ignore causes failed test
NUnit Assert.Ignore causes failed test
Options
Previous Topic
Next Topic
southward
#1
Posted :
Sunday, February 5, 2012 4:46:07 PM(UTC)
Rank: Newbie
Groups: Registered
Joined: 2/5/2012(UTC)
Posts: 1
The NUnit command
Assert.Ignore("This Test hits database");
causes NCrunch to falsely indicate a Failed test.
To duplicate, add the following test.
[Test]
public void AssertIgnoreFalseFailure()
{
Assert.Ignore("This Test hits database");
}
Back to top
|
Edit by user
User Profile
View All Posts by User
View Thanks
Remco
#2
Posted :
Sunday, February 5, 2012 9:25:45 PM(UTC)
Rank: NCrunch Developer
Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161
Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Hi, thanks for posting.
The reason for this is that NCrunch doesn't make use of an 'Inclusive' status to define tests that make use of Ignore. There's some more information about plans here in this thread:
http://forum.ncrunch.net/yaf_postst11_Problem-with-NUnit-TestCase-attribute.aspx
Cheers,
Remco
Back to top
User Profile
View All Posts by User
View Thanks
Users browsing this topic
Guest
NCrunch Forum
»
General Support
»
Build/Test Issues
»
NUnit Assert.Ignore causes failed test
Forum Jump
General Support
- Setup Problems
- Build/Test Issues
- Daily Usage Issues
Crunch Discussion
- General Feedback
- Feature Suggestions
General Discussion
- General Discussion
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.
Watch this topic
Email this topic
Print this topic
» Normal
Threaded
YAF
|
YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.024 seconds.
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download