nUnit 2.5 has been released

by Edward 11 May 2009 12:22

Although only a small version number change (from 2.4.8), NUnit 2.5 represents a large amount of new functionality and has been nearly a year in the making.

Here are a few highlights of what to expect in the new release:

Framework:

  • A new syntax element, Matches(Constraint), allows use of custom constraints, predicates or lambda expressions in constraint expressions.
  • The MessageMatch enum used with ExpectedExceptionAttribute has been extended with a new value StartsWith, indicating that the exception message must start with the string provided.
  • TestCaseAttribute now supports a MessageMatch property.


GUI:

  • The File menu now allows selecting an alternate runtime, such as Mono, on a machine with multiple CLR implementations installed. This feature is still considered experimental and may change in the future.
  • The combo box in the Project Editor allowing selection of a particular runtime type such as Mono for loading the test has been re-enabled.


Bug Fixes:

  • Provided a workaround to a Mono 2.4 bug in handling remote references to an interface, where the provider is running under MS .NET and the implementation is explicit.
  • The Console Runner display now shows the settings for ProcessModel, DomainUsage and RuntimeFramework actually provided, before resolution of any defaults.
  • Removed references in the docs to pages that no longer exist.


This new release also now includes pNUnit, an extended NUnit 'runner' for distributed parallel tests. The pNUnit program was developed at Codice Software for use in testing the Plastic SCM and has been contributed to NUnit. For more info about using pNUnit see the pNUnit site.

In addition Jamie Cansdale has released a new version of TestDriven.NET, a tool that allows developers to run their NUnit (and other frameworks) Tests inside Visual Studio.

Download nUnit 2.5 from the official website.

Other .NET Unit Test tools include: MBunit, CSUnit, xUnit.Net, NBehave and Gallio - an open, extensible, and neutral test runner designed to support all .NET test tools.

Tags: , , , ,

ASP.NET | Development Resources | Social Media

Comments are closed

About DasCode.Net

I'm a ASP.NET web developer and code enthusiast. Blogging about everything .Net related.

Code... that's .net

Month List