Using Lambdas as Constraints in NUnit 2.5
Let's say you have an array of ints representing years, all of which should be leap years.
Ten Reasons to Try NUnit 2,5
NUnit 2.5 has so many new features (see the release notes) that I thought I'd try to come up with my top-ten favorites. It was hard to get down to ten, but here's what I came up with...
Code Generation in NUnit
The latest code for NUnit 2.5 includes seven generated files, including the Assert class and most of the classes that allow you to write constraint expressions using the NUnit fluent syntax. Some people have asked if generating these files is worth the effort, since the code created is very simple anyway.