← Back to team overview

nunit-core team mailing list archive

[Bug 462418] Re: Assume.That() fails if I specify a message

 

** Branch linked: lp:nunitv2

-- 
Assume.That() fails if I specify a message
https://bugs.launchpad.net/bugs/462418
You received this bug notification because you are a member of NUnit
Core Developers, which is the registrant for NUnit Framework.

Status in NUnit Test Framework: Fix Committed
Status in NUnit V2 Test Framework: Fix Committed

Bug description:
I'm using Assume.That() in my tests to check test data exists, but I have discovered a bug where it results in a failed test (should be
inconclusive) when you specify a message e.g.:

Assume.That(false, Is.True); // OK
Assume.That(false, Is.True, "hihi"); // fails with red light

Occuring in NUnit 2.5.2.

Screenshot: http://richarddingwall.name/wp-content/uploads/2009/10/assumebug.png

Test case: http://richarddingwall.name/wp-content/uploads/2009/10/AssumeBug.zip

--
Richard Dingwall
http://richarddingwall.name



References