Release Notes
NUnit 2.6 Snapshot - Version 2.6.0.11089 - March 30, 2011
General
- NUnit is now built using .NET 3.5. All NUnit assemblies and most tests target .NET 2.0 but the full set of tests requires 3.5 to execute.
- The build script now supports building from source under .NET 4.0.
- NAnt 0.91 alpha2 release is now used for building on Windows. The 0.90 release is still used on Linux.
- Support for .NET 1.0 / 1.1 is no longer included in the main distribution for NUnit but is distributed as a separate package.
- NUnit Mocks is now deprecated. All classes are now marked as obsolete.
- NUnit now uses NSubstitute for its own tests. A copy of the NSubstitute dll is included in the distribution.
Framework
- NUnit now supports composable Action Attributes, which allow the
test developer to put reusable test actions into attributes and attach
these actions to suites, tests, and test cases. The actions can run
arbitrary code before and after suites, tests, and test cases execute.
It enables the test developer to build smaller reusable actions and to
compose them in unique ways for each suite, test, or test case.
Note: In the snapshot release, this feature is incomplete and documentation is not yet included. For more information, see http:/wiki/doku.php?id=dev:specs:action_attributes.
- New arguments "Net-3.0", "Net-3.5", "Mono-3.0" and "Mono-3.5" are now recognized by the PlatformAttribute. Since these frameworks all use the 2.0 runtime, the semantics of their use is slightly different from other key words. The "3.5" arguments also include "3.0" and "2.0" and the "3.0" arguments include "2.0" in their interpretation.
Console
- The .NET 1.1 build of nunit-console no longer supports the -process or -framework option. There is no automatic runtime detection and tests execute under same runtime as the console runner itself. If this functionality is needed when running tests under .NET 1.1, use the standard console runner to execute the tests in a separate process.
- A new -noxml allows supressing of the xml output.
- A new -work option is used to specify the directory to be used for the output of a test run. This directory is used as the base for any relative paths specified with the -output, -err or -xml options.
Gui
- The Project Editor is now a separate program, which may be executed directly or run through the Project | Edit dropdown menu of the NUnit GUI. The editor now provides two main views of the project: a property-oriented view based on the Project Editor that was built into earlier versions of the NUnit GUI and an xml view, which allows simple editing of the .nunit file.
Bug Fixes
- 726313 Failure in Assembly level Action attribute causes crash
- 692180 Script should allow building for net-2.0 under 3.5 or 4.0
- 702734 Separate packaging of NUnit for .NET 1.1 and 2.0
- 735851 Add detection of 3.0, 3.5 and 4.0 frameworks to PlatformAttribute
- 739039 Add noxml option to console runner
Earlier Releases
- Release Notes for NUnit 2.5 through 2.5.10
- Release Notes for NUnit 2.4 through 2.4.8
- Release Notes for NUnit 2.0 through 2.2.10