Bump the test group with 5 updates - #77
Conversation
Bumps Microsoft.NET.Test.Sdk from 18.8.1 to 18.9.0 Bumps Verify.XunitV3 from 31.28.0 to 32.0.0 Bumps WireMock.Net from 2.14.0 to 2.15.0 Bumps xunit.runner.visualstudio from 3.1.5 to 4.0.0 Bumps xunit.v3 from 3.2.2 to 4.0.0 --- updated-dependencies: - dependency-name: Microsoft.NET.Test.Sdk dependency-version: 18.9.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test - dependency-name: Verify.XunitV3 dependency-version: 32.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: test - dependency-name: WireMock.Net dependency-version: 2.15.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: test - dependency-name: xunit.runner.visualstudio dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: test - dependency-name: xunit.v3 dependency-version: 4.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: test ... Signed-off-by: dependabot[bot] <support@github.com>
|
Closing this Dependabot bump. The major-version jumps — Repro on the current PR's CI: Two paths forward, both bigger than a single dependabot bump:
I'll handle the MTP migration as a separate PR with an ADR once the test-suite migrations are scoped. Closing this PR so dependabot can produce a patch-level bump that we can actually merge. cc: |
|
This pull request was built based on a group rule. Closing it will not ignore any of these versions in future pull requests. To ignore these dependencies, configure ignore rules in dependabot.yml |
The .NET 10 SDK drops VSTest support in Microsoft.Testing.Platform 2.x, so the next test-framework major bump (Dependabot PR #77, closed) cannot land without a migration to MTP mode. Until it lands, the test-group Dependabot bumps will keep producing red PRs and we should ignore the major-version group on the affected packages. The migration is small: a 'test' section in global.json, a CI command update, an ADR. Adding it to v0.3 makes the next contributor's path explicit without needing a public tracker issue.
* Migrate test infrastructure to Microsoft Testing Platform (MTP) The .NET 10 SDK's MTP 2.x drops VSTest support, and any test-framework major-version bump that transitively pulls MTP 2.x produces a red CI (test (ubuntu-latest) and test (windows-latest) fail with 'Testing with VSTest target is no longer supported by Microsoft.Testing.Platform'). Dependabot PR #77 hit this on 2026-08-29 and was closed; this PR is the migration that lets the next test-group major bump land. Changes: * global.json: add "test": { "runner": "Microsoft.Testing.Platform" } to enable MTP mode of dotnet test under .NET 10 SDK. * Directory.Packages.props: drop the xunit.v3 3.2.2 central version (which transitively brings xunit.v3.core.mtp-v1, the v1 protocol). Add xunit.v3.mtp-v2 3.2.2 as the MTP v2 meta-package. xunit v3 4.x would default to v2 and this package would no longer be needed. * tests/Directory.Build.props: replace the xunit.v3 / xunit.runner. visualstudio references with xunit.v3.mtp-v2; add <UseMicrosoftTestingPlatformRunner>true</UseMicrosoftTestingPlatformRunner> so every test project inherits the MTP runner flag. * 6 test csprojs: remove the explicit xunit.v3.mtp-v2 PackageReference duplicates (Directory.Build.props now provides it transitively) and the misleading comment. * ci.yml: update the test command from VSTest ('--filter Category!=Live --logger trx --results-directory TestResults') to MTP shape ('--filter-not-trait Category=Live --report-trx --output TestResults --ignore-exit-code 8'). The xunit v3 MTP filter syntax is '--filter-not-trait name=value' (no '!=' operator). The '--ignore-exit-code 8' suppresses MTP's 'zero tests in a project' exit code, which fires for LiveIntegrationTests once the Live trait is filtered out. * live-smoke.yml: same MTP flag updates; the Category=Live filter is unchanged. * docs/decisions/0005: ADR recording the choice, the package relationship to xunit v3 3.x's MTP v1 default, and the migration steps. Verified locally on x64 Windows with the SDK at C:\Users\ivanv\.dotnet \sdk-10.0.303 (matching global.json's 10.0.303 pin): Build: 0 warnings, 0 errors Test (no Live): 240 passed, 0 failed, 0 skipped, exit 0 Closes the dependency that left PR #77 unmergeable. Once this lands, the test-group Dependabot major-version ignore in .github/dependabot.yml can be removed. Refs: #77 (closed), ADR 0005 * Correct CI test command shape for MTP The previous commit had the right structure (--filter-not-trait, --results-directory) but the syntax was incompatible with how the GitHub Actions bash parser tokenises arguments. Verified locally: --filter-not-trait 'Category=Live' (single-quoted, space-separated) is the form that produces the expected 240-pass / 0-fail result. Drop --report-trx / --output (those are VSTest/MTP-old shapes that the modern MTP mode rejects). Use --results-directory, which writes to the per-project TestResults/ directory and is what the artifact upload step picks up. * Add --ignore-exit-code 8 to test commands The LiveIntegrationTests project has 0 matching tests once the Category=Live trait is filtered out (the actual Live tests are gated on DATABRICKS_HOST/LAKESPEAK_LIVE_AGENT and skip cleanly without them). MTP returns exit code 8 for any project that reports 'Zero tests ran' at the end of the run, which is the correct behaviour but unhelpful in our solution-level invocation where LiveIntegrationTests is one of six test projects. --ignore-exit-code 8 tells MTP to treat that specific exit code as a success. Verified locally: 240 passed, 0 failed, exit 0.
Updated Microsoft.NET.Test.Sdk from 18.8.1 to 18.9.0.
Release notes
Sourced from Microsoft.NET.Test.Sdk's releases.
18.9.0
What's Changed
New Contributors
Full Changelog: microsoft/vstest@v18.8.0...v18.9.0
Commits viewable in compare view.
Updated Verify.XunitV3 from 31.28.0 to 32.0.0.
Release notes
Sourced from Verify.XunitV3's releases.
32.0.0
32.0.0-beta.16
32.0.0-beta.15
32.0.0-beta.14
32.0.0-beta.13
32.0.0-beta.12
32.0.0-beta.10
32.0.0-beta.8
32.0.0-beta.7
32.0.0-beta.6
32.0.0-beta.5
32.0.0-beta.4
32.0.0-beta.3
32.0.0-beta.2
32.0.0-beta.1
Commits viewable in compare view.
Updated WireMock.Net from 2.14.0 to 2.15.0.
Release notes
Sourced from WireMock.Net's releases.
2.15.0
What's Changed
WithClientIP(MatchOperator, params IStringMatcher[])ignores the MatchOperator argument by @Bafyn in Fix #1494:WithClientIP(MatchOperator, params IStringMatcher[])ignores the MatchOperator argument wiremock/WireMock.Net#1495Full Changelog: wiremock/WireMock.Net@2.14.0...2.15.0
Commits viewable in compare view.
Updated xunit.runner.visualstudio from 3.1.5 to 4.0.0.
Release notes
Sourced from xunit.runner.visualstudio's releases.
4.0.0
Release notes: https://xunit.net/releases/visualstudio/4.0.0
4.0.0-pre.5
Release notes: https://xunit.net/releases/visualstudio/4.0.0-pre.5
4.0.0-pre.4
Release notes: https://xunit.net/releases/visualstudio/4.0.0-pre.4
4.0.0-pre.3
Release notes: https://xunit.net/releases/visualstudio/4.0.0-pre.3
Commits viewable in compare view.
Updated xunit.v3 from 3.2.2 to 4.0.0.
Release notes
Sourced from xunit.v3's releases.
No release notes found for this version range.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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