Skip to content

Bump NUnit and NUnit3TestAdapter - #151

Merged
jas88 merged 5 commits into
mainfrom
dependabot/nuget/testing-aead52b863
Oct 22, 2026
Merged

jas88 merged 5 commits into
mainfrom
dependabot/nuget/testing-aead52b863

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Updated NUnit from 4.6.1 to 5.0.0.

Release notes

Sourced from NUnit's releases.

5.0.0

See release notes for details.

Commits viewable in compare view.

Updated NUnit3TestAdapter from 6.2.0 to 6.3.1.

Release notes

Sourced from NUnit3TestAdapter's releases.

6.3.1

This is a hotfix release for issue 1504

6.3.0

See Release notes

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

Summary by cubic

Updates NUnit from 4.6.1 to 5.0.0 and holds NUnit3TestAdapter at 6.2.0. The 6.3.x adapter makes the MTP code coverage extension instrument every DLL under the repo root instead of the test bin dir, so parallel test hosts rewrite each other's binaries and CI hangs; a Dependabot ignore rule excludes 6.3.0 and 6.3.1.

Also adapts the test suite to NUnit 5 API changes: Assert.ThrowsAsync/CatchAsync calls are now awaited (six previously unasserted calls in sync test methods are now async), sequence assertions use pattern matching for the now-nullable lambda parameter, and the obsolete [Order] attribute in NativeCodecsTests is removed.

Written for commit c0c08d3. Summary will update on new commits.

View guided diff Turn on auto-fix

Bumps NUnit from 4.6.1 to 5.0.0
Bumps NUnit3TestAdapter from 6.2.0 to 6.3.1

---
updated-dependencies:
- dependency-name: NUnit
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: testing
- dependency-name: NUnit3TestAdapter
  dependency-version: 6.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: testing
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Oct 14, 2026
jas88 added 3 commits October 13, 2026 20:36
- Await Assert.ThrowsAsync/CatchAsync, which now return Task<T>. Six
  calls in synchronous test methods compiled without warning but no
  longer asserted anything; those methods are now async
- Narrow Has.Some.Matches lambda parameter, now nullable, via pattern match
- Remove obsolete [Order]; SetUp/TearDown already reset NativeCodecs state
…ing-aead52b863

# Conflicts:
#	Directory.Packages.props
Adapter 6.3.x makes the MTP code coverage extension search the whole
working directory recursively for modules to statically instrument,
instead of the test assembly's output directory. With all test projects
running in parallel under --coverage, each host rewrites the others'
binaries; locally a single project goes from 3s to ~60s and the full run
hangs, and on CI the test step stalled until the runner was shut down.

NUnit 5.0.0 works with adapter 6.2.0. Ignore 6.3.0/6.3.1 in Dependabot.
@codecov

codecov Bot commented Oct 22, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.63%. Comparing base (32ea2e6) to head (c0c08d3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #151      +/-   ##
==========================================
- Coverage   65.66%   65.63%   -0.03%     
==========================================
  Files         337      337              
  Lines       30420    30420              
  Branches     5710     5710              
==========================================
- Hits        19974    19967       -7     
- Misses       9028     9033       +5     
- Partials     1418     1420       +2     
Flag Coverage Δ
unittests 65.63% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jas88
jas88 merged commit d2818d2 into main Oct 22, 2026
7 checks passed
@jas88
jas88 deleted the dependabot/nuget/testing-aead52b863 branch October 22, 2026 13:51
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant