TestDriven.Net 2.21: Now includes NUnit 2.5 RCSupport for NUnit 2.5

July 4, 2009 – 8:00 am

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.

Catching up on blog reading?
It was very warm and humid last night in Manchester, UK and so I sat up late catching up on a whole bunch of blog-reading that I haven?t done for a few weeks. I tend to use my blog-reader ( FeedDemon ) in the same way that I use Outlook. I go through everything, delete anything I?m less interested in and then revisit the other stuff at a later point and I thought I?d spend some time today visiting all those posts I?d flagged as interesting.

Moq.me 3.0 RTM

Congratulations Kzu on the release of Moq 3.0 RTM!

You can get it here http://moq.me/ (I love the domain name).

There s a fascinating back and forth between Ayende and Daniel (kzu) where they discuss different ways to use mock frameworks. Ayende (who developed Rhino Mocks) is more in favor of interaction testing than Daniel who is a state/classic TDDer.

Recently I ve been trying to separate my tests into unit tests, interaction tests and integration tests. For interaction testing I ve been using Typemock Isolator, which allows me to break a few runes in order to exercise some hard to test code. Moq is looking very interesting as a mock framework to use with my traditional unit tests.

RSS ????
Hi frnds… Plz explain about RSS FEEDS… what is RSS Feeds? uses? how can i include into our web site…is there any diff types of RSS Feeds…. plz explain briefly… Thanks in advance..

You must be logged in to post a comment.