HowTo – NUnit – Assertions

This post covers the Assertions which are provided and are used to conditionally pass or fail a unit test.

Most of these are self explanatory so I will keep my words to a minimum, highlighting only the main or more obscure points.

The examples given are the simplest self explanatory way to define a pass using the assertion.

via HowTo – NUnit – Assertions | luke wickstead.

A fully comprehensive guide to the different types of assertions available in NUnit.

Warning

I love constructive and useful commentary. I hate spam. Before you consider leaving a spammy comment heed my warning. I will show no mercy.

Feel free to leave constructive comments that aren't spam!