NUnit, is it possible to continue executing test after Assert fails?
Posted
by m.bagattini
on Stack Overflow
See other posts from Stack Overflow
or by m.bagattini
Published on 2010-05-14T14:06:12Z
Indexed on
2010/05/14
14:14 UTC
Read the original article
Hit count: 120
In a test that contains some asserts, for example:
Assert.AreEqual(1,1);
Assert.AreEqual(2,1);
Assert.AreEqual(2,2);
is it possible to let the test keep running after it fails at some point? In the example, first condition is true, second fails and the test stops. I'd like to evaluate also the following condition.
© Stack Overflow or respective owner