is there a MsTest Equivalent of Assert.Warning in MbUnit ?
+2
A:
The closest match is Assert.Inconclusive()
- it doesn't make the test fail as such, but it doesn't succeed either. It fall into a third stage called Inconclusive.
A single Inconclusive test will cause an entire test suite to be Inconclusive.
There are overloads that supports custom messages as well:
Assert.Inconclusive("Ploeh");
Mark Seemann
2009-09-03 08:27:28
A:
I have a similar issue as I use NUnit for some projects. Try using
Console.Write("Some Warning");
MattyC
2010-04-05 13:54:57