nunit-core team mailing list archive
-
nunit-core team
-
Mailing list archive
-
Message #00169
[Bug 462418] [NEW] Assume.That() fails if I specify a message
Public bug reported:
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
** Affects: nunit-3.0
Importance: Critical
Status: Triaged
** Affects: nunitv2
Importance: Critical
Status: Triaged
** Also affects: nunit-3.0
Importance: Undecided
Status: New
** Changed in: nunit-3.0
Importance: Undecided => Critical
** Changed in: nunitv2
Importance: Undecided => Critical
** Changed in: nunit-3.0
Status: New => Triaged
** Changed in: nunitv2
Status: New => Triaged
** Changed in: nunit-3.0
Milestone: None => 2.9.4
** Changed in: nunitv2
Milestone: None => 2.5.3
--
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: Triaged
Status in NUnit V2 Test Framework: Triaged
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
Follow ups
References