Friday, May 1, 2015

Assert.Fail in C#

...is a way to make a unit test fail. Use it like this:

Assert.Fail("This thing went south.");

No comments:

Post a Comment