[tests] Update NUnit packages to latest stable versions#25516
[tests] Update NUnit packages to latest stable versions#25516rolfbjarne wants to merge 2 commits into
Conversation
Update the following package versions: - NUnit: 4.4.0 → 4.6.1 - NUnit3TestAdapter: 6.1.0 → 6.2.0 - NUnitAnalyzers: 4.7.0 → 4.13.0 - NUnitXmlTestLogger: 3.1.15 → 8.0.0 - NUnitLite: 3.12.0 → 4.6.1 - NUnitV2ResultWriter: 3.6.0 → 3.8.0 Also remove the tools/nunit3-console* scripts, they're no longer needed. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Updates the repository’s centralized NUnit-related package versions used by test projects, and removes legacy nunit3-console wrapper scripts from tools/ as they’re no longer referenced.
Changes:
- Bump NUnit, NUnit3TestAdapter, NUnit.Analyzers, NUnitXml.TestLogger, NUnitLite, and NUnitV2ResultWriter versions via
Directory.Build.props. - Remove version-pinned
tools/nunit3-console-*bash wrappers that invokednunit3-console.exevia mono.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tools/nunit3-console-3.9.0 | Removed legacy mono-based nunit3-console wrapper script. |
| tools/nunit3-console-3.10.0 | Removed legacy mono-based nunit3-console wrapper script. |
| tools/nunit3-console-3.11.1 | Removed legacy mono-based nunit3-console wrapper script. |
| tools/nunit3-console-3.12.0 | Removed legacy mono-based nunit3-console wrapper script. |
| Directory.Build.props | Centralized version bumps for NUnit-related test dependencies (including NUnitXml.TestLogger 8.0.0 and NUnit 4.6.1). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
- Add nunit.framework.legacy.dll to BundleStructureTest expected files (NUnit 4.6.1 ships this assembly alongside nunit.framework.dll) - Add trimmer/ILC warning suppression for nunit.framework.legacy - Add --dlsym for nunit.framework.legacy.dll in nunit.framework.targets - Remove [Timeout] attributes no longer supported by NUnitLite 4.x (ObjectTest.InvokeTest and SecSharedCredentialTest methods) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
✅ [PR Build #bbeaa3f] Build passed (Detect API changes) ✅Pipeline on Agent |
✅ [PR Build #bbeaa3f] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #bbeaa3f] Build passed (Build packages) ✅Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [PR Build #bbeaa3f] Build passed (Build macOS tests) ✅Pipeline on Agent |
🔥 [CI Build #bbeaa3f] Test results 🔥Test results❌ Tests failed on VSTS: test results 0 tests crashed, 53 tests failed, 130 tests passed. Failures❌ fsharp tests2 tests failed, 2 tests passed.Failed tests
Html Report (VSDrops) Download ❌ introspection tests4 tests failed, 2 tests passed.Failed tests
Html Report (VSDrops) Download ❌ linker tests (tvOS)11 tests failed, 0 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (iOS)5 tests failed, 13 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (MacCatalyst)6 tests failed, 14 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (macOS)6 tests failed, 14 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (tvOS)18 tests failed, 0 tests passed.Failed tests
Html Report (VSDrops) Download ❌ windows tests1 tests failed, 2 tests passed.Failed tests
Html Report (VSDrops) Download Successes✅ cecil: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Monterey (12): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Update the following package versions:
Also remove the tools/nunit3-console* scripts, they're no longer needed.