TestDriven.Net 2.21: Now includes NUnit 2.5 RC

Support for NUnit 2.5 RC

A couple of days ago, Charlie Poole announced that the first NUnit 2.5 release candidate is now uploaded. I’ve hurried to get a new version of TestDriven.Net with support for this version ready. I’m happy to announce that TestDriven.Net 2.21 Beta (which includes NUnit 2.5 RC) is now available for download.

TestWithNUnit25

This is a major NUnit release with lots of new features. Here is the list that was posted on the NUnit mailing list:

  1. Parameterized (data-driven) tests are supported, with features similar to those found in mbUnit and xUnit.net.
  2. Theories - as used in JUnit- are supported fully, including support for Assume.That.
  3. New attributes allow the specifying the thread and apartment state requirements of a test.
  4. Exception handling can now be moved into the test code using Assert.Throws or the Throws.Exception syntax.
  5. Test methods and fixtures may now be generic and many asserts and constraint expressions now support generic syntax.
  6. Many constraints now permit substitution of a user-defined comparison algorithm through the Using modifier. Lambda expressions are supported.
  7. Test execution may now take place in a separate process for better isolation.
  8. Tests may be loaded and executed using a selected runtime version.
  9. Tests, setup methods, teardown methods and data sources may be static if desired. If there are no instance methods, then NUnit doesn't need to construct your test class.
  10. Source code is displayed in the gui, where available.

Charlie has also posted a top 10 reasons try NUnit 2.5.

Improved x86 / 32-bit support on a 64-bit OS

This version also contains improved support for running tests in a 32-bit process. To configure a test project for 32-bit execution, simply select ‘x86’ as the ‘Platform target’ in the project properties. After doing this, the ‘Run Test(s)’ and ‘Test With > NUnit 2.5’ commands will execute your tests in a 32-bit process (this doesn’t work for NUnit 2.4). By default projects configured for ‘Any CPU’ will execute tests in a 64-bit process (unless you’re testing with NCover, Team Coverage or dotTrace).

x86  

Experimental Visual Studio 2010 support

TestDriven.Net was working with the Visual Studio 2010 PDC CTP version. Unfortunately I’ve had less luck with more recent pre-Beta versions (Visual Studio was crashing). You can try the experimental support by choosing ‘Custom’ setup and enabling the ‘Visual Studio 2010’ feature. There is a chance this will be working again when the Visual Studio 2010 Beta is released.

vs2010

Trace/debug messages now appear in ‘Debug’ pane

When stepping through code started from TestDriven.Net, you may have noticed that trace/debug messages appeared in the ‘Test’ pane but not the ‘Debug’ pane. Trace/debug diagnostic messages will only appear in the ‘Test’ pane when targeting specific tests, but not when executing all tests in a project / solution.

Release Notes & Download

Here are links to the TestDriven.Net release notes and download.

Don’t hesitate to contact me or the NUnit team if you find any issues with this release.

Published Thursday, April 30, 2009 12:05 PM by Jamie Cansdale

Comments

# re: TestDriven.Net 2.21: Now includes NUnit 2.5 RC

I have a win7 vm with 2010 Beta installed.  When I installed TD.Net VS would not load.  After I uninstalled TD.Net vs would load again.

Anyone else seen this?

Friday, May 22, 2009 12:23 PM by Derik Whittaker

# re: TestDriven.Net 2.21: Now includes NUnit 2.5 RC

yes same problem, and I don't see any details in the event log.

Saturday, May 23, 2009 11:29 AM by Matthieu

# re: TestDriven.Net 2.21: Now includes NUnit 2.5 RC

I posted about this here: benjaminnitschke.com/.../EarlyVisualStudio2010Experiences.aspx

TestDriven.net needs a fix, version 2.17-2.21 all do not work on VS2010 beta, use earlier versions that do not support VS2010 at all (e.g. 2.15), then it works fine in VS2008 and VS2010 will still start (without TestDriven.net however).

Tuesday, May 26, 2009 2:08 AM by abi

# re: TestDriven.Net 2.21: Now includes NUnit 2.5 RC

+1 on getting VS 2010 Beta support.  How is this going? Funny how much I rely on your tool now... I simply can't develop with out it :)

Sunday, May 31, 2009 3:21 PM by Brian Genisio

# re: TestDriven.Net 2.21: Now includes NUnit 2.5 RC

Monday, July 13, 2009 12:19 PM by Jamie Cansdale

Leave a Comment

(required) 
(required) 
(optional)
(required)