NUnit 2.4.1 & Watin 1.1.0

There's a new version of NUnit out there, the 2.4.1. I was eager to try the new 2.4 constrained assert model, because I feel it's more like natural language.

Instead of repeating stuff you can read in the official documentation, I will just leave two examples of how different is the new model:

Old model:

Assert.AreEqual(MovementCommands.TurnLeft, result);

New model:

Assert.That(result, Is.EqualTo(MovementCommands.TurnLeft));

And allows compose assertions too:

Assert.That(myNumber, Is.GreaterThan(0) & Is.LessThanOrEqualTo(5));

And, continuing with testing, another great tool I expect to use soon (maybe in my next work assignment ;), WatiN has released the 1.1.0 version.

Apart from being quite usefull (web application testing has been quite painful until last years), it can be integrated in NUnit too (sorry MS guys, I still prefer CC.NET/NAnt before VSTS).

NUnit 2.4.1 & Watin 1.1.0 published @ . Author: