This release fixes a new issue with the FixtureLifeCycle attribute where IDisposable test 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.AreEquivalent and the CollectionEquivalentConstraint when 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.
This release fixes a new issue with the FixtureLifeCycle attribute where IDisposable test 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.AreEquivalent and the CollectionEquivalentConstraint when 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.
Issues Resolved
2799 CollectionAssert.AreEquivalent is extremely slow
3589 File headers, copyrights, and licenses
3773 IDisposable not working with InstancePerTestCase
3779 Obsolete AreEqual methods with nullable numeric arguments for 3.13
3784 Build the v3.13-dev branch
3786 NUnit with dotnet test results in O(n^2) filtering complexity
3810 Enable deterministic build
3818 AppVeyor failing to build v3.13-dev branch PRs
3832 Deploy v3.13-dev branch builds to MyGet
Commits
5631b49 Merge pull request #3838 from nunit/release3132
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
Bumps nunit from 3.13.1 to 3.13.2.
Release notes
Sourced from nunit's releases.
Changelog
Sourced from nunit's changelog.
Commits
5631b49
Merge pull request #3838 from nunit/release313218ef24a
Fix formattingf7c9845
Update changes for 3.13.2 release3606fec
Merge pull request #3837 from nunit/backport/27998008b54
Remove types from test that are not supported in .NET 3.5fbae851
Update src/NUnitFramework/framework/Constraints/CollectionTally.cs0384ca6
Update src/NUnitFramework/framework/Constraints/CollectionTally.cs6ec32c7
Update src/NUnitFramework/tests/Constraints/CollectionEquivalentConstraintTes...c3814ff
Add support for StringCollectiondf63dba
Performance improvements comparing equivalence of large collectionsDependabot 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually