Skip to content

Classic Model

Charlie Poole edited this page Jan 31, 2016 · 9 revisions

The classic Assert model uses a separate method to express each individual assertion of which it is capable.

Here's a simple assert using the classic model:

      StringAssert.AreEqualIgnoringCase( "Hello", myString );

The Assert class provides the most common assertions in NUnit:

Additional assertions are provided by the following classes:

####See also...

Clone this wiki locally