MbUnit 101: Assert.That

First in a series on MbUnit features and I’ll start with Asserts.

MbUnit supports the style of Asserts that you find in NUnit and others as well other styles. For example Assert.That supports NHamcrest syntax, for example.

You can also chain HHamcrest expressions.

MbUnit also supports Linq expressions in AssertEx.That, for example.

Advertisements

2 thoughts on “MbUnit 101: Assert.That

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s