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.

Leave a Reply

Please do not spam. Everything is moderated and I have no patience for the slightest bits of spam. You will get Askimet blacklisted. No links that are trying to sell things allowed. Blogspam countries are IP banned.

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>