NUnit V2 2.6.0b2

Milestone information

Project:
NUnit V2
Series:
trunk
Version:
2.6.0b2
Released:
2011-11-20  
Registrant:
Charlie Poole
Release registered:
2011-11-20
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:
30 Charlie Poole, 1 Simone Busoli
Blueprints:
No blueprints are targeted to this milestone.
Bugs:
31 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.6.0.11324-src.zip (md5) Source 368
last downloaded 3 weeks ago
download icon NUnit-2.6.0.11324-net-1.1.zip (md5) Binary zip 308
last downloaded 3 weeks ago
download icon NUnit-2.6.0.11324-net-1.1.msi (md5) Windows installer 734
last downloaded 4 days ago
download icon NUnit-2.6.0.11324-docs.zip (md5) Documentation 349
last downloaded 3 weeks ago
download icon NUnit-2.6.0.11324.zip (md5) Binary zip 416
last downloaded 3 weeks ago
download icon NUnit-2.6.0.11324.msi (md5) Windows installer 1,004
last downloaded 3 weeks ago
Total downloads: 3,179

Release notes 

General

    * NUnit's executables now use config files that allow smoother running of mixed assemblies built for .NET 2.0 under .NET 4.0.
    * When opening Visual Studio formatted solutions, NUnit now uses the solution configuration by default, resulting in changed behavior from previous releases. The Settings Dialog may be used to revert NUnit to the earlier behavior, which ignored solution configurations.
    * Changing the URL to be used for NUnit help through the config file is no longer supported.

Framework

    * TestCaseAttribute now accepts Explicit and Reason named parameters.
    * TestCaseSourceAttribute now accepts a Category named parameter.
    * TestCaseData now supports marking individual test cases as Explicit.
    * EqualConstraint now recognizes and uses IEquatable<T> if it is implemented on either the actual or the expected value. The interface is used in preference to any override of Object.Equals(), so long as the other argument is of Type T. Note that this applies to all equality tests performed by NUnit.
    * When Assert.Throws() fails due to an exception of the wrong Type being thrown, the error message now includes the Message and Stack Trace from the exception.
    * The constraint syntax now supports Has.Exactly(n)... in place of Has.Some... in order to allow tests over collections that must be satisfied a specific number of times.
    * The Using(...) syntactic element may now be repeated multiple times in an expression, so long as each comparer applies to a different Type. NUnit will use the appropriate comparer, depending on the Type of the arguments. Among other things, this allows overriding the default NUnit comparison of collections.
    * Documentation is provided for the previously undocumented TestContext. A new property TestContext.WorkDirectory allows tests to access the name of a directory to be used for file output. This directory may be specified by use of the /work option of nunit-console.

Gui

    * The test reload functionality in the Gui has been rewritten and simplified so that the same logic is used for all cases where the visual state of the tree is to be recovered. Test results are now found even if changes to the assembly have resulted in the assignment of new ids to the tests.
    * The Gui now displays invalid tests in red immediately upon load, without waiting for the user to run them. Tests marked with the IgnoreAttribute are displayed in yellow immediately as well.
    * The directory containing the log files may be opened directly from the Gui by use of a new item on the Tools menu.
    * Test summary results are truncated when the window size is too small. The full summary is displayed when hovering over the field.
    * A number of new settings are available using the Settings Dialog:
        - The Project Editor page allows the user to select whether the NUnit Project Editor or another external program will be used when editing the settings file.
        - The Runtime Selection page allows enabling or disabling automatic detection of the target runtime for each test assembly.
        - The Advanced Loader Settings page now allows specifying the argument to use in calling SetPrincipalPolicy for each test AppDomain.
        - The Visual Studio page now includes a setting that enables or disables the use of solution configs when loading Visual Studio solution files.
        - The Internal Trace page now shows the directory path to which log files will be saved.

Bug Fixes

    602761 nunit-agent hangs after tests complete
    625672 NUnit GUI bounces to background on reload
    657801 Help URL should not be in config file
    676560 Assert.AreEqual does not support IEquatable<T>
    697069 Feature request: dynamic location for TestResult.xml
    697329 NUnit tries to test disabled projects
    709062 "System.ArgumentException : Cannot compare" when the element is a list
    712156 Tests cannot use AppDomain.SetPrincipalPolicy
    766749 net-2.0\nunit-console-x86.exe.config should have a startup element and also enable loadFromRemoteSources
    770471 Assert.IsEmpty does not support IEnumerable
    785460 Add Category parameter to TestCaseSourceAttribute
    794115 HashSet incorrectly reported
    800089 Assert.Throws() hides details of inner AssertionException
    836080 Log Directory shown incorrectly in settings dialog
    836360 When size of the Gui window is reduced, test result info may not fit in the field provided
    841894 UI won't run tests marked Explicit from the context menu
    878376 Add 'Exactly(n)' to the NUnit constraint syntax
    878899 Changing logging level has no effect until NUnit is restarted
    878955 ParameterizedTest not in their parent test-suite when FixtureSetup fails in .xml result file
    881617 Tests with invalid category attributes should be more visible
    882137 When no tests are run, higher level suites display as Inconclusive
    882517 NUnit 2.5.10 doesn't recognize TestFixture if there are only TestCaseSource inside
    883271 Reload Tests sometimes "loses" tests
    885277 Exception when project calls for a runtime using only 2 digits
    885604 Feature request: Explicit named parameter to TestCaseAttribute
    887005 NUnit.exe ignores categories when using /run option
    890129 DelayedConstraint doesn't appear to poll properties of objects
    890384 When font is enlarged, layout of settings pages is incorrect
    891237 When font is enlarged, gui Test Result disappears and suite name is truncated
    891265 Add /cleanup to nunit-console.exe
    891326 Non-runnable and statically ignored tests should disable the Run item on the context menu

Changelog 

This release does not have a changelog.

0 blueprints and 31 bugs targeted

Bug report Importance Assignee Status
885277 #885277 Exception when project calls for a runtime using only 2 digits 2 Critical Charlie Poole  10 Fix Released
625672 #625672 NUnit GUI bounces to background on reload 3 High Charlie Poole  10 Fix Released
766749 #766749 net-2.0\nunit-console-x86.exe.config should have a <startup /> element and also enable loadFromRemoteSources 3 High Charlie Poole  10 Fix Released
878955 #878955 ParameterizedTest not in their parent test-suite when FixtureSetup fails in .xml result file 3 High Charlie Poole  10 Fix Released
882517 #882517 NUnit 2.5.10 doesn't recognize TestFixture if there are only TestCaseSource inside 3 High Charlie Poole  10 Fix Released
883271 #883271 Reload Tests sometimes "loses" tests 3 High Charlie Poole  10 Fix Released
602761 #602761 nunit-agent hangs after tests complete 4 Medium Charlie Poole  10 Fix Released
676560 #676560 Assert.AreEqual does not support IEquatable<T> 4 Medium Simone Busoli  10 Fix Released
697329 #697329 NUnit tries to test disabled projects 4 Medium Charlie Poole  10 Fix Released
709062 #709062 "System.ArgumentException : Cannot compare" when the element is a list 4 Medium Charlie Poole  10 Fix Released
712156 #712156 Tests cannot use AppDomain.SetPrincipalPolicy 4 Medium Charlie Poole  10 Fix Released
785460 #785460 Add Category parameter to TestCaseSourceAttribute 4 Medium Charlie Poole  10 Fix Released
800089 #800089 Assert.Throws() hides details of inner AssertionException 4 Medium Charlie Poole  10 Fix Released
836080 #836080 Log Directory shown incorrectly in settings dialog 4 Medium Charlie Poole  10 Fix Released
836360 #836360 When size of the Gui window is reduced, test result info may not fit in the field provided 4 Medium Charlie Poole  10 Fix Released
841894 #841894 UI won't run tests marked Explicit from the context menu 4 Medium Charlie Poole  10 Fix Released
878376 #878376 Add 'Exactly(n)' to the NUnit constraint syntax 4 Medium Charlie Poole  10 Fix Released
881617 #881617 Tests with invalid category attributes should be more visible 4 Medium Charlie Poole  10 Fix Released
885604 #885604 Feature request: Explicit named parameter to TestCaseAttribute 4 Medium Charlie Poole  10 Fix Released
887005 #887005 NUnit.exe ignores categories when using /run option 4 Medium Charlie Poole  10 Fix Released
890129 #890129 DelayedConstraint doesn't appear to poll properties of objects 4 Medium Charlie Poole  10 Fix Released
890384 #890384 When font is enlarged, layout of settings pages is incorrect 4 Medium Charlie Poole  10 Fix Released
891237 #891237 When font is enlarged, gui Test Result disappears and suite name is truncated 4 Medium Charlie Poole  10 Fix Released
657801 #657801 Help URL should not be in config file 5 Low Charlie Poole  10 Fix Released
697069 #697069 Feature request: dynamic location for TestResult.xml 5 Low Charlie Poole  10 Fix Released
770471 #770471 Assert.IsEmpty does not support IEnumerable 5 Low Charlie Poole  10 Fix Released
794115 #794115 HashSet incorrectly reported 5 Low Charlie Poole  10 Fix Released
878899 #878899 Changing logging level has no effect until NUnit is restarted 5 Low Charlie Poole  10 Fix Released
882137 #882137 When no tests are run, higher level suites display as Inconclusive 5 Low Charlie Poole  10 Fix Released
891265 #891265 Add /cleanup to nunit-console.exe 5 Low Charlie Poole  10 Fix Released
891326 #891326 Non-runnable and statically ignored tests should disable the Run item on the context menu 5 Low Charlie Poole  10 Fix Released
This milestone contains Public information
Everyone can see this information.