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

build(deps): bump the nunit group with 2 updates #20

Merged
merged 2 commits into from
Jan 11, 2025

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 6, 2025

Bumps the nunit group with 2 updates: NUnit and NUnit.Analyzers.

Updates NUnit from 4.2.2 to 4.3.2

Release notes

Sourced from NUnit's releases.

NUnit 4.3.2

This is a hotfix release. See release notes for details.

NUnit 4.3.1

This is a hotfix release. See release notes for details.

NUnit 4.3.0

See release notes

Commits
  • cca65aa Add ApplyToAsync override to ThrowsExceptionConstraint
  • 1f1959a Merge pull request #4899 from nunit/Issue4898_IsEqualTo
  • 1119a98 Add back old EqualTo(object) overloads for backward compatibility.
  • caf4a4e Make EqualNumericConstraint constructors public again.
  • bd45e7c Replace constraints on EqualNumericConstraint with Guard
  • a12d6ab Alternative approach
  • 36b8b1d Use IsNumericType
  • c999e34 Ensure ApplyTo<T> also only calls Numerics if supported.
  • b0d2d2e Fall back to default EqualConstraint
  • b9697d2 Optimization for finding implicit cast to string.
  • Additional commits viewable in compare view

Updates NUnit.Analyzers from 4.4.0 to 4.5.0

Release notes

Sourced from NUnit.Analyzers's releases.

NUnit Analyzers 4.5 - December 22, 2024

The release primarily fixes a problem with the NUnit Analyzers when used with NUnit 4.3.1 - see #811 for more information. In additional, we have also added some smaller improvements and bug fixes.

The release contains contributions from the following users (in alphabetical order):

Issues Resolved

Features and Enhancements

  • #811 NUnit2021 ignores cast operation since NUnit 4.3.1
  • #801 Allow NUnit2005 to recognize Is.Empty

Bugs

  • #794 AD0001: Occasional InvalidOperationException error in analyzer in IDE

Tooling, Process, and Documentation

  • #808 chore: Correct typo
  • #806 Add information about dotnet_diagnostic.NUnit1032.additional_dispose_methods to the docs
  • #795 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0
  • #793 chore: bump version
Changelog

Sourced from NUnit.Analyzers's changelog.

# NUnit Analyzers 4.5 - December 22, 2024

The release primarily fixes a problem with the NUnit Analyzers when used with NUnit 4.3.1 - see #811 for more information. In additional, we have also added some smaller improvements and bug fixes.

The release contains contributions from the following users (in alphabetical order):

Issues Resolved

Features and Enhancements

  • #811 NUnit2021 ignores cast operation since NUnit 4.3.1
  • #801 Allow NUnit2005 to recognize Is.Empty

Bugs

  • #794 AD0001: Occasional InvalidOperationException error in analyzer in IDE

Tooling, Process, and Documentation

  • #808 chore: Correct typo
  • #806 Add information about dotnet_diagnostic.NUnit1032.additional_dispose_methods to the docs
  • #795 chore(deps): Bump Microsoft.NET.Test.Sdk from 17.11.1 to 17.12.0
  • #793 chore: bump version

NUnit Analyzers 4.4 - November 13, 2024

This release of the NUnit Analyzers adds handling of Assert.IsAssignableFrom/Assert.IsNotAssignableFrom and Assert.Positive/Assert.Negative. Also insertion of trivia for code fixes for NUnit2007 and NUnit2046 have been improved.

The release contains contributions from the following users (in alphabetical order):

Issues Resolved

Features and Enhancements

  • #790 NUnit.Analyzers 4.3.0 missed an Assert.IsAssignableFrom that caused a build error after upgrading to latest NUnit 4.2.2
  • #789 NUnit.Analyzers 4.3.0 missed an Assert.Positive that caused a build error after upgrading to latest NUnit 4.2.2

Bugs

  • #784 Fix trivia for NUnit2046
  • #783 NUnit2007 doesn't apply trivia correctly

Tooling, Process, and Documentation

... (truncated)

Commits
  • 4a06a08 Merge pull request #814 from nunit/release4.5
  • 81de2a9 chore: Update release notes
  • 58cdb3a Merge pull request #812 from nunit/Issue811_NUnit2021
  • 7b7bb03 Merge pull request #813 from nunit/Issue801_NUnit2005
  • 3095eae Optimize Are(Not)Equal when actually wanting to test for Empty.
  • 979589e Fix for generic EqualTo<T> which no longer has an implicit cast.
  • 6e77c26 NUnit 4.3 has more than one EqualConstraint
  • d73461a Some tests are no longer relevant for NUnit 4.3 because they no longer compile.
  • a5e3712 Update to NUnit 4.3.1
  • 86f8c23 Merge pull request #807 from nunit/doc/improve-documentation-of-nunit1032
  • Additional 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 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the nunit group with 2 updates: [NUnit](https://github.com/nunit/nunit) and [NUnit.Analyzers](https://github.com/nunit/nunit.analyzers).


Updates `NUnit` from 4.2.2 to 4.3.2
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/main/CHANGES.md)
- [Commits](nunit/nunit@4.2.2...4.3.2)

Updates `NUnit.Analyzers` from 4.4.0 to 4.5.0
- [Release notes](https://github.com/nunit/nunit.analyzers/releases)
- [Changelog](https://github.com/nunit/nunit.analyzers/blob/master/CHANGES.md)
- [Commits](nunit/nunit.analyzers@4.4.0...4.5.0)

---
updated-dependencies:
- dependency-name: NUnit
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nunit
- dependency-name: NUnit.Analyzers
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: nunit
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added .NET Pull requests that update .net code dependencies Pull requests that update a dependency file labels Jan 6, 2025
Copy link

github-actions bot commented Jan 6, 2025

Test Results

  4 files  ±0    4 suites  ±0   0s ⏱️ ±0s
 94 tests ±0   93 ✅ ±0  1 💤 ±0  0 ❌ ±0 
276 runs  ±0  275 ✅ ±0  1 💤 ±0  0 ❌ ±0 

Results for commit 63039b0. ± Comparison against base commit e82a85e.

♻️ This comment has been updated with latest results.

@vbreuss vbreuss enabled auto-merge (squash) January 11, 2025 10:19
Copy link

👽 Mutation Results

Mutation testing badge

aweXpect.Chronology

Details
File Score Killed Survived Timeout No Coverage Ignored Compile Errors Total Detected Total Undetected Total Mutants

The final mutation score is NaN%

Coverage Thresholds: high:80 low:60 break:0

Copy link

🚀 Benchmark Results

Details

BenchmarkDotNet v0.14.0, Ubuntu 22.04.5 LTS (Jammy Jellyfish)
AMD EPYC 7763, 1 CPU, 4 logical and 2 physical cores
.NET SDK 8.0.404
[Host] : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2
DefaultJob : .NET 8.0.11 (8.0.1124.51707), X64 RyuJIT AVX2

Method Mean Error StdDev Allocated
DateOnly_aweXpect 2.840 ns 0.0297 ns 0.0277 ns -
DateOnly_DotNet 3.023 ns 0.0123 ns 0.0109 ns -
DateTime_aweXpect 15.490 ns 0.0659 ns 0.0550 ns -
DateTime_DotNet 3.339 ns 0.0155 ns 0.0145 ns -
DateTimeOffset_aweXpect 21.014 ns 0.0160 ns 0.0125 ns -
DateTimeOffset_DotNet 8.907 ns 0.0107 ns 0.0090 ns -
TimeOnly_aweXpect 11.525 ns 0.0267 ns 0.0237 ns -
TimeOnly_DotNet 2.229 ns 0.0034 ns 0.0032 ns -
TimeSpan_aweXpect 1.885 ns 0.0076 ns 0.0067 ns -
TimeSpan_DotNet 1.168 ns 0.0081 ns 0.0072 ns -

@vbreuss vbreuss merged commit 684b2aa into main Jan 11, 2025
12 checks passed
@vbreuss vbreuss deleted the dependabot/nuget/nunit-19bfd99bde branch January 11, 2025 10:37
Copy link

This is addressed in release v0.4.0.

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 .NET Pull requests that update .net code state: released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant