I’ve been praising the “new” Assert.That syntax, since introduced in NUnit 2.4. Expressing your tests using a constraint based API, rather than the old Are* and Is* API, makes reading your tests piece of pie. Take a look at the following test sample: It doesn’t take 10 years of programming to understand the code here,… Read more »
Posts Tagged: shouldly
Unit testing attribute decorations
This is my first blog post about unit testing. And so, without further ado here’s a small utility I wrote the other day. Problem Attributes in .NET as well as annotations in Java are great. I simply love the strengths of action filters in ASP.NET MVC, which are simply just a way to do aspect oriented… Read more »