Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump nunit from 3.11.0 to 3.13.0 #19

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps nunit from 3.11.0 to 3.13.0.

Release notes

Sourced from nunit's releases.

NUnit 3.13

The FixtureLifeCycle attribute 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 make 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

NUnit 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.

Changelog

Sourced from nunit's changelog.

NUnit 3.12 - May 14, 2019

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.

Issues Resolved

  • 474 TypeHelperTests.cs is orphaned
  • 999 Support multiple TestOf attributes per test
  • 1638 TimeoutAttribute not available when targeting netcoreapp framework
  • 2168 ThrowsAsync reports OperationCanceledException as TaskCanceledException
  • 2194 How to use Contains.Substring with And
  • 2286 Add support for custom Task (i.e. ValueTask)
  • 2579 AppVeyor Test Failures under .NET 3.5
  • 2614 TestExecutionContext.CurrentContext is saved in Remoting CallContext between test runs
  • 2696 Getting WorkerId fails in debug
  • 2772 Random failing of parallel test run: Unhandled Exception: System.InvalidOperationException: Stack empty.
  • 2975 ComparisonConstraints are allocating string on construction
  • 3014 Timeout failures on MacOS
  • 3023 NUnit runner fails when test method returns ValueTask<>
  • 3035 Apartment state can't be used for .NET Standard 2.0 tests
  • 3036 Apartment state can't be used for .NET Standard 2.0 tests
  • 3038 TestName in TestCase attribute not validated to be not empty
  • 3042 RequiresThreadAttribute allows ApartmentState.Unknown, unlike ApartmentAttribute
  • 3048 Add .idea folder to .gitignore
  • 3053 Conversion from TestCase string parameter to DateTimeOffset
  • 3059 Constraint Throws.Exception does not work with async return value
  • 3068 First Chance Exception in RuntimeFramework
  • 3070 End support for .NET Framework 2.0 (released in 2005)
  • 3073 CollectionAssert.AreEquivalent fails for ValueTuple Wrapped Dictionary
  • 3079 Regression from 3.10 to 3.11: Range in bytes
  • 3082 Is.Ordered.By
  • 3085 XML Test-Suite Assembly does not contain DLL path anymore
  • 3089 Remove outdated comment
  • 3093 Tests having TaskLike objects as their return type throws Exception
  • 3094 Bad error message if collections have different types
  • 3104 Removed NET20 compile output
  • 3105 Add tests for use of ApartmentState.Unknown in RequiresThreadAttribute
  • 3107 Declare class in Program.cs provided with NUnitLite Nuget package static
  • 3109 Azure DevOps build fails in Save package artifacts
Commits
  • 2e2cb92 Merge pull request #3703 from nunit/release313
  • 2ae411f Adds attribute to the release notes
  • 6b6521a Finish the release notes
  • 4f3817f Update copyright year
  • a26b9e5 Merge pull request #3646 from stevenaw/3447-structural-equality
  • bf315c4 IStructuralEquatable takes priority over IEnumerable using NUnit Equality.
  • c6d3ff1 Merge pull request #3695 from stevenaw/1809-complex-number-tests
  • 58e63ad Merge branch 'master' into 3447-structural-equality
  • e6b50f0 Add test verifying complex equality works
  • 9590876 Merge pull request #3696 from Antash/issue-3662
  • Additional commits viewable in compare view

Dependabot compatibility score

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
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [nunit](https://github.com/nunit/nunit) from 3.11.0 to 3.13.0.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/master/CHANGES.md)
- [Commits](nunit/nunit@v3.11...v3.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jan 7, 2021
@dependabot-preview
Copy link
Contributor Author

Superseded by #20.

@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/nunit-3.13.0 branch February 1, 2021 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants