You need to remove the Assert.Inconclusive
if you are certain your test is correct :)
leppie
2009-05-27 17:54:10
You need to remove the Assert.Inconclusive
if you are certain your test is correct :)
NUnit 2.5 added "inconclusive" as a result state in between success and failure. It's explained in the release notes here.
NUnit is doing exactly what you told it to do. The new inconclusive state does terminate the test. If you want a message displayed in the case of your Assert failing, Assert.AreEqual() has an overload that takes a message string. Use that, and remove Assert.Inconclusive().
Assert.AreEqual(expected, actual, "Verify the correctness of this test method.");