Skip to content

Commit

Permalink
Merge pull request #4070 from nunit/release-3-13-3
Browse files Browse the repository at this point in the history
Changes for the 3.13.3 Release
  • Loading branch information
rprouse committed Mar 20, 2022
2 parents c32c2e4 + 380615e commit af8ca8b
Show file tree
Hide file tree
Showing 8 changed files with 48 additions and 11 deletions.
37 changes: 37 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,40 @@
# NUnit Release Notes

## NUnit 3.13.3 - March 20, 2022

This release includes several performance enhancements. [@lahma](https://github.com/lahma) provided a massive speed improvement for large parametrized test suites. In addition, quivalency tests with large unsortable collections run faster by determining if the collections are sortable before attempting to sort them.

We've added several fixes for .NET 6.0 and we've stopped testing NUnit against .NET Core 2.1 which is now out of support.

There are also several fixes for the new `FixtureLifeCycle` feature and other smaller bug fixes and performance improvements.

### Issues Resolved

* 2963 Flakey tests in FrameworkControllerTests
* 3643 Assert.Pass(message) produces "reason" in XML-Result
* 3841 Breaking change: Is.SupersetOf with ValueTuple requires IComparable in NUnit 3.13.2
* 3843 IDisposable & InstancePerTestCase: Object created for OneTimeSetUp is not disposed
* 3898 NUnit 3.13.2 : LessThanOrEqualTo fails on a case which should succeed
* 3903 Backport race condition fix (PR 3883)
* 3904 Backport fix for "IDisposable & InstancePerTestCase" (PR 3843)
* 3929 Fix high precision decimal calculations in v3.13 (#3898)
* 3959 Marked 'NUnitEqualityComparer.AreEqual(object, object, Tolerance, bool)' as obsolete
* 3962 Ensure that AfterTest always runs in AfterTestCommand
* 3971 Backport "Add missing `[DoesNotReturn]` annotations" from #3958
* 3976 Equivalency fallback for non-IComparable types can leave CollectionTally in corrupt state
* 3998 Eagerly determine when a set is unsortable
* 3999 Numeric comparison fails when it should succeed.
* 4000 OverflowException comparing large double values
* 4007 Eagerly detect sortable types for equivalency tests in 3.13.x
* 4030 IsEmpty doesn't work with new .NET6 PriorityQueue
* 4032 Tests won't run with an abstract base class that has a TestCaseFixtureSource
* 4033 Recognized private members in base class for Source attributes
* 4034 Improve method discovery and filtering performance
* 4041 Minimze empty array allocations via centralized helper for pre-net46
* 4043 Stop testing the framework against netcoreapp21 in v3.13 branch
* 4045 Drop netcore2.1 as a target (backport #3986)
* 4058 Remove TopLevel property from ValueMatchFilter

## NUnit 3.13.2 - April 27, 2021

This release fixes a new issue with the `FixtureLifeCycle` attribute where `IDisposable` test fixtures were not being disposed properly. As always, [@gleb-osokin](https://github.com/gleb-osokin) has been a great help with this new feature.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2021 Charlie Poole, Rob Prouse
Copyright (c) 2022 Charlie Poole, Rob Prouse

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion nuget/framework/nunit.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Supported platforms:
<releaseNotes>This package includes the NUnit 3 framework assembly, which is referenced by your tests. You will need to install version 3 of the nunit3-console program or a third-party runner that supports NUnit 3 in order to execute tests. Runners intended for use with NUnit 2.x will not run NUnit 3 tests correctly.</releaseNotes>
<language>en-US</language>
<tags>nunit test testing tdd framework fluent assert theory plugin addin</tags>
<copyright>Copyright (c) 2021 Charlie Poole, Rob Prouse</copyright>
<copyright>Copyright (c) 2022 Charlie Poole, Rob Prouse</copyright>
<dependencies>
<group targetFramework="net35" />
<group targetFramework="net40" />
Expand Down
6 changes: 3 additions & 3 deletions nuget/nunitlite/Program.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// ***********************************************************************
// Copyright (c) 2021 Charlie Poole, Rob Prouse
// Copyright (c) 2022 Charlie Poole, Rob Prouse
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
Expand All @@ -8,10 +8,10 @@
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Expand Down
6 changes: 3 additions & 3 deletions nuget/nunitlite/Program.vb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
' ***********************************************************************
' Copyright (c) 2021 Charlie Poole, Rob Prouse
' Copyright (c) 2022 Charlie Poole, Rob Prouse
'
' Permission is hereby granted, free of charge, to any person obtaining
' a copy of this software and associated documentation files (the
Expand All @@ -8,10 +8,10 @@
' distribute, sublicense, and/or sell copies of the Software, and to
' permit persons to whom the Software is furnished to do so, subject to
' the following conditions:
'
'
' The above copyright notice and this permission notice shall be
' included in all copies or substantial portions of the Software.
'
'
' THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
' EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
' MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
Expand Down
2 changes: 1 addition & 1 deletion nuget/nunitlite/nunitlite.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ How to use this package:
3. Add your tests to the test project and simply start the project to execute them.</description>
<language>en-US</language>
<tags>test unit testing tdd framework fluent assert device phone embedded</tags>
<copyright>Copyright (c) 2021 Charlie Poole, Rob Prouse</copyright>
<copyright>Copyright (c) 2022 Charlie Poole, Rob Prouse</copyright>
<dependencies>
<group targetFramework="net35">
<dependency id="NUnit" version="[$version$]" />
Expand Down
2 changes: 1 addition & 1 deletion src/CommonAssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
//
[assembly: AssemblyCompany("NUnit Software")]
[assembly: AssemblyProduct("NUnit 3")]
[assembly: AssemblyCopyright("Copyright (c) 2021 Charlie Poole, Rob Prouse")]
[assembly: AssemblyCopyright("Copyright (c) 2022 Charlie Poole, Rob Prouse")]
[assembly: AssemblyTrademark("NUnit is a trademark of NUnit Software")]

#if DEBUG
Expand Down
2 changes: 1 addition & 1 deletion src/NUnitFramework/nunitlite/TextUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public void DisplayHeader()
Assembly executingAssembly = GetType().GetTypeInfo().Assembly;
AssemblyName assemblyName = AssemblyHelper.GetAssemblyName(executingAssembly);
Version version = assemblyName.Version;
string copyright = "Copyright (C) 2021 Charlie Poole, Rob Prouse";
string copyright = "Copyright (C) 2022 Charlie Poole, Rob Prouse";
string build = "";

var copyrightAttr = executingAssembly.GetCustomAttribute<AssemblyCopyrightAttribute>();
Expand Down

0 comments on commit af8ca8b

Please sign in to comment.