Bump NUnit from 2.6.3 to 3.14.0 #1
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated NUnit from 2.6.3 to 3.14.0.
Release notes
Sourced from NUnit's releases.
3.14.0
See release notes
3.13.3
This release includes several performance enhancements. @lahma provided a massive speed improvement for large, parametrized test suites. In addition, equivalency 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
FixtureLifeCyclefeature and other smaller bug fixes and performance improvements.For more information, please see the complete Framework Release Notes
3.13.2
This release fixes a new issue with the
FixtureLifeCycleattribute whereIDisposabletest fixtures were not being disposed properly. As always, @gleb-osokin has been a great help with this new feature.It also fixes a long-standing performance issue with
CollectionAssert.AreEquivalentand theCollectionEquivalentConstraintwhen comparing large collections. The deep comparison that NUnit performs on the two collections will always have a worst case bound of O(n^2) but we have optimized it so that the majority of use cases will be closer to O(n).We've also made significant optimizations to the OR filters for selecting tests using their full name. This dramatically improves test performance for large code bases that use
dotnet test. Thanks to @pakrym for his help with this.For more information, please see the complete Framework Release Notes
3.13.1
This release addresses several misses with the new
FixtureLifeCycleattribute, switches to using SourceLink and NuGet snupkg packages for debugging into NUnit from your unit tests. It also addresses issues with the time format of ignored and explicit tests in the test results file.For more information, please see the complete Framework Release Notes
3.13
The
FixtureLifeCycleattribute has been added to indicate that an instance for a test fixture or all test fixtures in an assembly should be constructed for each test within the fixture or assembly.This attribute may be applied to a test fixture (class) or to a test assembly. It is useful in combination with the Parallelizable Attribute so that a new instance of a test fixture is constructed for every test within the test fixture. This allows tests to run in isolation without sharing instance fields and properties during parallel test runs. This makes running parallel tests easier because it is easier to make your tests thread-safe.
This release also fixes several issues running tests in .NET 5.0. If your tests target .NET 5.0, we recommend updating to this release.
For more information, please see the complete Framework Release Notes
3.12
This release of NUnit finally drops support for .NET 2.0. If your application still targets .NET 2.0, your tests will need to target at least .NET 3.5. Microsoft ended support for .NET 2.0 on July 12, 2011. Microsoft recommends that everyone migrate to at least .NET Framework 3.5 SP1 for security and performance fixes.
This release dramatically improves NUnit support for async tests including returning ValueTask and custom tasks from tests, improved handling of SynchronizationContexts and better exception handling.
The .NET Standard 2.0 version of NUnit continues to gain more functionality that is found in the .NET 4.5 version of the framework like setting the ApartmentState and enabling Timeout on tests.
3.11
3.10.1
Added a namespace to the props file included in the NuGet package to make it compatible with versions of Visual Studio prior to VS 2017.
3.10
This release adds a .NET Standard 2.0 version of the framework which re-enables most of the features that have been missing in our earlier .NET Standard builds like parallelism, timeouts, directory and path based asserts, etc. It also contains numerous bug fixes and smaller enhancements. We've improved our XML docs, fixed performance issues and added more detail to Multiple Asserts.
This release also contains source-indexed PDB files allowing developers to debug into the NUnit Framework. This allows you to track down errors or see how the framework works.
In order to support the .NET Standard 2.0 version, the NUnit project switched to the new CSPROJ format and now requires Visual Studio 2017 to compile. This only effects people contributing to the project. NUnit still supports building and compiling your tests in older .NET IDEs and NUnit still supports older versions of the .NET Framework back to 2.0. For contributors, NUnit can now compile all supported targets on Windows, Linux and Mac using the Cake command line build.
3.9
This release addresses numerous parallelization issues that were introduced in 3.8 when method level parallelization was added. Most of the parallelization issues resolved were tests never completing when using some combinations of parallel tests and
ApartmentStatenot being properly applied to tests in all cases.3.8.1
This release fixes two critical regressions in the 3.8 release. The first caused the console runner to crash if you are using test parameters. The second issue caused collection constraints checking for multiple items in a collection to fail.
Issues Resolved
3.8
This release removes several methods and attributes that were marked obsolete in the
original 3.0 release. Support for iOS and Android has been improved.
An issue that caused unit tests to run slower was addressed as was a bug that prevented
the use of Assert.Multiple in async code.
The Order attribute can now also be applied to the class level to set the order
that test fixtures will be run.
Issues Resolved
... (truncated)
3.7.1
This is a hotfix release that addresses occasional hangs when using test parallization and fixes crashes in NCrunch prior to version 3.9.
3.7
This release of NUnit expands on parallel test execution to allow test methods to be run in parallel. Please see the Parallelizable Attribute for more information.
NUnit 3.7 also drops the Portable build of the framework and replaces it with a .NET Standard 1.3 version to complement the .NET Standard 1.6 version. This change enables several constraints and other features in the .NET Standard builds that weren't available in portable like Path and Directory based asserts.
The
AssertionHelperclass has been deprecated because it is seldom used and has not received any of the updates that Asserts and Constraints receive. If your code is using theAssertionHelperclass, we recommend that you migrate your asserts.3.6.1
This is a hotfix release of the framework that addresses critical issues found in the 3.6 release.
Issues Resolved
3.6
This release of the framework no longer includes builds for Compact Framework or for SilverLight, but adds a .NET Standard 1.6 build. If anyone still using Compact Framework or SilverLight and would like to continue development on those versions of the framework, please contact the NUnit team.
Framework
See the release notes for a complete list of changes.
3.5
This is the first version of NUnit where the framework will be released separately from the
console runner, engine and other extensions. From this point forward, the NUnit Framework will be
released on its own schedule that is not bound to that of any other NUnit project and version numbers
may diverge over time.
This is also the first release where the NUnit Framework will not be included in the installer. Only
the console runner, engine and extensions will be available as an MSI installer. We recommend that you
use the NUnit NuGet packages for the framework, but a ZIP file with the binaries will also be available.
Framework
See the release notes for a complete list of changes.
3.4.1
Console Runner
have been installed by the engine.
Issues Resolved
3.4
Framework
with the --test-name-format option
LINQ queries in your tests
Engine
Console Runner
which can be retrieved using TestContext.Parameters
NUnit Agent process.
See the release notes for a complete list of changes.
3.2.1
This is mainly a bugfix release, but it contains several features that were intended for the 3.4 release.
NUnit 3.2 introduced a change that ran each test on its own thread. In hindsight, this was a mistake and made it difficult for tests that required a specific context. We have reverted to the previous behaviour of running tests on the same thread unless a test attribute requires a new thread. We also added a new
[SingleThreaded]attribute that you can apply to your test fixture to explicitly declare the requirement. Using this attribute allows the framework to raise an error if you mistakenly use an attribute on a test that requires a new thread.Developers who target .NET 3.5 using the .NET 2.0 version of the framework ran into conflicts with some of the compatibility classes in NUnit. To fix this, we have reinstated the .NET 3.5 version of NUnit.
Very large test suites were using a large amount of memory causing paging and slow test runs on some systems. To reduce memory pressure, we are now releasing objects earlier, greatly reducing memory requirements.
The NUnit Engine now has an EventListener extension point for people who want to write extensions that respond to specific events during test runs.
For a full list of issues fixed in this release, please see the release notes.
3.2
In addition to numerous bug fixes, this release adds the long requested
OrderAttribute, a newAssert.ThrowsAsync,Assert.That(0, Is.Zero)and other enhancements.For a full list of issues fixed in this release, please see the release notes.
3.0.1
This release fixes critical issues reported against the initial 3.0 release, mainly around compatibility producing the NUnit 2 XML output format and async support for Windows 10. For a full list of issues fixed in this release, please see the release notes.
3.0
This is the final release of NUnit 3.0. See the release notes for details of all its features.
3.0.0-rc-3
This release fixes some errors in RC2 and is expected to be the final RC.
3.0.0-rc-2
This is the second release candidate for NUnit 3.0 which fixes a few issues that were found in the initial release. All the features we intend to include are present and this is the final step before releasing. If we have to make changes due to errors there will be additional release candidates. Otherwise, this build will be re-packaged as the final release.
For details of changes in this release, see the release notes.
3.0.0-rc
This is the initial release candidate for NUnit 3.0. All the features we intend to include are present and this is the final step before releasing. If we have to make changes due to errors there will be additional release candidates. Otherwise, this build will be re-packaged as the final release.
For details of changes in this release, see the release notes at https://github.com/nunit/docs/wiki/Release-Notes
3.0.0-beta-5
This is the fifth beta release of NUnit 3.0. We had a number of new features added and decided to have an additional beta before the final release.
For changes to the beta-5 release as well as cumulative changes see the release notes at https://github.com/nunit/docs/wiki/Release-Notes
3.0.0-beta-4
This is the fourth beta release of NUnit 3.0. We hope this will be the last beta before the final release, but will make the decision after reviewing the outstanding issues.
For changes to the beta-4 release as well as cumulative changes see the release notes at https://github.com/nunit/nunit/wiki/Release-Notes
3.0.0-beta-3
This is the third beta release of NUnit 3.0. We are planning one more beta next month before the final release.
This release changes the Engine API, so if you have a previous 3.0 release installed, you must uninstall it before installing this release.
For changes to the beta-3 release as well as cumulative changes see the release notes at https://github.com/nunit/nunit/wiki/Release-Notes
3.0.0-beta-2
This is the second beta release of NUnit 3.0 bringing us one step closer to the final release. This release splits the distribution of the Compact Framework version of the NUnit Framework out of the main package and adds a new core engine for use by devices and similar situations where reduced functionality is compensated for by reduced size and simplicity of usage.
For changes to the beta-2 release as well as cumulative changes see the release notes at https://github.com/nunit/nunit/wiki/Release-Notes
3.0.0-beta-1
This is the first beta release of NUnit 3.0.
For changes to the beta-2 release as well as cumulative changes see the release notes at https://github.com/nunit/nunit/wiki/Release-Notes
3.0.0-alpha-5
This is the fifth (and probably last) Alpha release of NUnit 3.0. It adds some important features, including implementation of addins in the test engine and provision of Windows installers for the framework and console runner.
3.0.0-alpha-4
This latest Alpha release of NUnit 3.0 adds several new features, including a driver that allows the 3.0 Test Engine to run tests created under NUnit 2.x and support for both NUnit and Visual Studio project formats.
3.0.0-alpha-3
This is the third alpha release of NUnit 3.0. See the Release Notes on the website or the CHANGES.txt document in the source folder for details.
3.0.0-alpha-2
This is the second alpha release of NUnit 3.0, fixing a number of bugs and limitations in the first alpha. See the Release Notes on the website or the CHANGES.txt document in the source folder for details.
3.0.0-alpha
This is the first true release of NUnit 3.0, after many months of pre-releases in the 2.9.x series.
It's still and alpha-level release, so we don't recommend it for production work. On the other hand, it's suitable for selective use on individual projects.
Currently, documentation is lacking but it's being developed. What is available may be seen at http://nunit.org
2.9.7
This is the final pre-alpha release of NUnit 3.0.
NOTE: The CHANGES.txt file included with the release is incorrect and does not include the latest changes. Download the separate CHANGES.txt file for a list of changes in this release.
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)