NUnit V2 2.5.3

Milestone information

Project:
NUnit V2
Series:
2.5
Version:
2.5.3
Released:
2009-12-12  
Registrant:
Charlie Poole
Release registered:
2009-12-12
Active:
No. Drivers cannot target bugs and blueprints to this milestone.  

Download RDF metadata

Activities

Assigned to you:
No blueprints or bugs assigned to you.
Assignees:
1 Andreas Schlapsi, 21 Charlie Poole, 2 Jv
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
24 Fix Released

Download files for this release

After you've downloaded a file, you can verify its authenticity using its MD5 sum or signature. (How do I verify a download?)

File Description Downloads
download icon NUnit-2.5.3.9345-src.zip (md5) Source code 7,707
last downloaded 2 days ago
download icon NUnit-2.5.3.9345-docs.zip (md5) Documentation 9,510
last downloaded 5 days ago
download icon NUnit-2.5.3.9345.zip (md5) Binary zip 17,529
last downloaded 6 days ago
download icon NUnit-2.5.3.9345.msi (md5) Windows installer 69,870
last downloaded 24 hours ago
Total downloads: 104,616

Release notes 

NUnit 2.5.3 - Version 2.5.3.9345 - December 11, 2009

Note: This is the first release of NUnit on Launchpad.

New Features

* Test execution under .NET 4.0 is now supported. It may be selected in the
  Gui runner or using the console runner /framework option. NUnit test projects
  may specify .NET 4.0 as the required framework to be used for loading the
  project. PlatformAttribute allows testing for .NET 4.0.

* The distribution now includes nunit-agent-x86.exe, which is used for running
  tests in a separate process under nunit-x86.exe or nunit-console-x86.exe when
  the target framework is .NET 2.0 or greater.

* Static methods Contains.Substring() and Contains.Item() have been added to the
  NUnit syntax for compatibility with NUnitLite.

* Non-public test fixtures are now allowed in all cases, whether the
  TestFixtureAttribute is present or not.

* Abstract classes may now be marked with TestFixtureAttribute to indicate that
  derived classes are to be treated as test fixtures. The abstract class is no
  longer marked as invalid.

* Fixtures without tests are no longer shown as non-runnable but are simply
  executed. If the fixture setup or teardown does not cause an error, they are
  reported as inconclusive.

Bug Fixes

* Reloading tests in the Gui no longer uses the default runtime if a different
  runtime was previously selected.

* Thread principal is now saved before each test and restored afterward eliminating
  failures under .NET 4.0.

* Assume.That() overload with a message no longer results in test failure.

* An expected Result of null is now handled correctly on parameterized tests.

* Duplicate caching of metadata has been eliminated, resolving a load performance
  problem when many methods are inherited from a base class.

* The names of nested generic and non-generic classes are now displayed correctly.

* Assert.Catch<T> now correctly returns exception type T rather than System.Exception.

* ValueSourceAttribute now works correctly when used with an external type.

* The /domain=None option on nunit-console once again works correctly.

* Parameterized test fixture names are now displayed with the actual arguments used
  so that failures may be associated with the correct instantiation of the fixture.

* Test labels for generics are now displayed correctly by the console runner and
  in the Gui text output tab.

* Generic fixtures without type attributes provided are now shown as non-runnable
  rather than causing a runtime error. (1)

* Use of an unknown file type in the console command line no longer causes an error. (2)

* A number of tests that ran incorrectly under Linux have been fixed.

* A number of tests failing under .NET 4.0 have been fixed.

Notes

   1. As a side effect of this fix, TestFixtureAttribute on a base class is
      overridden by a TestFixtureAttribute on the derived class.

   2. This was originally reported as "crash when using /option in linux."

Changelog 

This release does not have a changelog.

0 blueprints and 24 bugs targeted

Bug report Importance Assignee Status
459216 #459216 Reload uses default runtime 2 Critical Charlie Poole  10 Fix Released
459219 #459219 Changes to thread princpal cause failures under .NET 4.0 2 Critical Charlie Poole  10 Fix Released
462418 #462418 Assume.That() fails if I specify a message 2 Critical Charlie Poole  10 Fix Released
420897 #420897 Performance degradation with test loading in 2.5 3 High Charlie Poole  10 Fix Released
421252 #421252 NUnit is unable to launch tests under .NET 4.0 3 High Jv  10 Fix Released
427173 #427173 The name of inner class test fixture was not displayed properly in GUI runner 3 High Charlie Poole  10 Fix Released
430100 #430100 Assert.Catch<T> should return T instead of System.Exception 3 High Charlie Poole  10 Fix Released
434415 #434415 nunit-x86 fails when running tests in separate process 3 High Charlie Poole  10 Fix Released
439062 #439062 ValueSourceAttribute doesn't work with external Type 3 High Charlie Poole  10 Fix Released
462019 #462019 Line endings needs to be better controlled in source 3 High Charlie Poole  10 Fix Released
487482 #487482 Separate appDomains when running tests from nunit console 3 High Charlie Poole  10 Fix Released
414073 #414073 Using TextFixture attribute with parameters doesn't print the parameters in the output 4 Medium Charlie Poole  10 Fix Released
414073 #414073 Using TextFixture attribute with parameters doesn't print the parameters in the output 4 Medium Charlie Poole  10 Fix Released
422411 #422411 Add Platform detection for .NET 4.0 4 Medium Jv  10 Fix Released
427171 #427171 Better test labels for console runner 4 Medium Charlie Poole  10 Fix Released
432805 #432805 Some Framework Tests don't run on Linux 4 Medium Andreas Schlapsi  10 Fix Released
440109 #440109 Full Framework does not support "Contains" 4 Medium Charlie Poole  10 Fix Released
483836 #483836 Allow non-public test fixtures consistently 4 Medium Charlie Poole  10 Fix Released
487878 #487878 Tests in generic class without proper TestFixture attribute should be reported as invalid 4 Medium Charlie Poole  10 Fix Released
488002 #488002 Should not report tests in abstract class as invalid 4 Medium Charlie Poole  10 Fix Released
419411 #419411 Fixture With No Tests Shows as Non-Runnable 5 Low Charlie Poole  10 Fix Released
434760 #434760 crash when using /option in linux 5 Low Charlie Poole  10 Fix Released
459224 #459224 Culture test failure under .NET 4.0 5 Low Charlie Poole  10 Fix Released
483845 #483845 TestCase expected return value cannot be null 5 Low Charlie Poole  10 Fix Released
This milestone contains Public information
Everyone can see this information.