Skip to content

Conversation

@dependabot-preview
Copy link

Bumps nunit from 3.10.1 to 3.12.0.

Release notes

Sourced from nunit's releases.

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.

NUnit 3.11

  • More informative assertion messages
  • PlatformAttribute is available on .NET Standard 2.0 and now detects .NET Core
  • ValuesAttribute now works with nullable types
  • Async tests detecting and running Windows Forms or WPF message pumps rather than deadlocking
  • Support for UWP 10.0 is back via .NET Standard 1.4
Changelog

Sourced from nunit's changelog.

NUnit 3.11 - October 6, 2018

  • More informative assertion messages
  • PlatformAttribute is available on .NET Standard and now detects .NET Core
  • ValuesAttribute now works with nullable types
  • Async tests detecting and running Windows Forms or WPF message pumps rather than deadlocking
  • Support for UWP 10.0 is back via .NET Standard 1.4

Issues Resolved

  • 352 Test with infinite loop in TearDown cannot be aborted
  • 452 Deprecate the existing Chocolatey framework package
  • 660 Order dependence of And and Or constraints should be documented
  • 1200 async test + Apartment(ApartmentState.STA) => await not returning on STA thread
  • 2123 Task.Run inside a test will result in deadlock if a control was created previously
  • 2146 Assert.That with a Throws constraint does not provide as much info as Assert.Throws
  • 2427 PropertyConstraint throws away the more helpful message in the base constraint result
  • 2432 Ability to exclude/include the platform .NET Core
  • 2450 NullReferenceException in ExceptionHelper.BuildMessage on Mono
  • 2536 SetArgDisplayNames for TestCaseData and TestFixtureData
  • 2611 Enable .NET Standard 1.6 tests on non-Windows
  • 2693 Ensure that resharper settings are consistent with the editorconfig configuration
  • 2757 Broken char comparison in v3.7 and higher
  • 2759 Test fails with "No arguments were provided" error when no values returned from IParameterDataSource
  • 2761 Infinite loop in nunit 3.9
  • 2781 Fixed precompiler typo
  • 2786 Timeout value not resetting on Retry of failed test
  • 2790 Removing ITypeInfo abstraction
  • 2798 [Request] Show actual count value when test fail on Has.Exactly(x).Items
  • 2814 Remove public marker types
  • 2819 Only run AppVeyor PR build against open PRs
  • 2821 Save and restore the SynchronizationContext before and after each test case
  • 2823 SetUp failed for test fixture - Array was not a one-dimensional array. Issue seems related to byte[,] method parameters
  • 2829 Obsoletion warning for DataAttribute
  • 2831 Regular "BusyExecIdle after 200 milliseconds delay" CI failures
  • 2833 Use longer BusyExecIdle to avoid CI failures
  • 2836 NUnit.Framework.Does cannot be extended
  • 2837 DictionaryContainsKeyConstraint behaviour is inconstant with Dictionary.ContainsKey when the dictionary uses a custom Comparer
  • 2842 Supporting inheritance of Assert and related classes
  • 2854 Has.All.../Has.None... - show non-matching items in error message
  • 2863 Make tests robust without depending on the order of attributes
  • 2867 Skip executing TestCaseSources for tests which are not included in the filter
  • 2876 Implement Discovery-time filtering for NUnitLite
  • 2883 Our public ConcurrentQueue causes type conflicts
  • 2885 Copy/paste error in Assert.That documentation
  • 2887 NETStandard 1.3 support dropped in NUnit 3.10
  • 2896 Some tests are silently skipped on netstandard1.x since #2796
  • 2898 AssemblyPath contains invalid charaters
  • 2901 Values attribute support for nullable bool and enum types
  • 2923 Update outdated CategoryAttribute xmldoc
... (truncated)
Commits
  • c933a88 Merge pull request #3239 from nunit/release-311
  • 735ecc5 Updates copyright to 2019
  • c375f06 Update changes.md for the 3.12 release
  • e63e206 Merge pull request #3236 from jnm2/wait_for_posted_work
  • eda78fd Fix accidental break instead of return and protect with test
  • 39cfe28 Increase test coverage of SingleThreadedTestSynchronizationContext
  • 8313473 Handle queue timeouts properly
  • 594248b Enable work to be posted recursively within timeout
  • 1fc8dc3 Test that recursively posted work actually happens
  • db3bcdf Allow work to be dequeued within timeout after shutdown
  • 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 ignore this [patch|minor|major] version will close this PR and stop Dependabot creating any more for this minor/major 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)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • 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)

Finally, you can contact us by mentioning @dependabot.

Bumps [nunit](https://github.com/nunit/nunit) from 3.10.1 to 3.12.0.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/master/CHANGES.md)
- [Commits](nunit/nunit@v3.10.1...v3.12)

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

Superseded by #108.

@dependabot-preview dependabot-preview bot deleted the dependabot/nuget/nunit-3.12.0 branch January 8, 2021 05:26
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.

1 participant