Skip to content

Bump the test group with 5 updates - #77

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/test-c0a258730e
Closed

Bump the test group with 5 updates#77
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/nuget/test-c0a258730e

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 29, 2026

Copy link
Copy Markdown
Contributor

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

  • #​1832 Add Inline snpashot support
  • #​1835 Add SettingsTask.AddContext
  • #​1847 Honor explicit DefaultValueHandling for bools
  • #​1850 Stray extension-less snapshot file crashes every run of its test
  • #​1851 Static UniqueForTargetFramework(Assembly) overloads ignore the assembly passed to them
  • #​1852 Appended files skip scrubbing and newline normalization when a stream converter is registered
  • #​1853 IgnoreParameters() ignore-all sentinel is lost when combined with another ignore source
  • #​1854 Format UTC offsets with the invariant culture
  • #​1855 Format UTC offsets with invariant culture
  • #​1856 Use ticks to decide date precision
  • #​1857 Clean # out of file name parameters
  • #​1858 Escape one character trimmed date formats
  • #​1859 Prefer the exact type when resolving a member converter
  • #​1860 Keep empty collections ignored alongside instance predicates
  • #​1861 Key the combinations name cache by reference
  • #​1862 Match MSTest overloads against the test data
  • #​1863 Report deletes as directory relative paths
  • #​1864 Name the guarded API in ThrowIfVerifyHasBeenRun
  • #​1865 Keep stack frames that have no parameter list
  • #​1866 Generate the TestContext property for record test classes
  • #​1867 Fix two CombinationResultsConverter edge cases
  • #​1868 Sign sub-hour UTC offsets
  • #​1869 Write the received file from the stream for handle based FileStreams
  • #​1870 Compare prefixes ignoring case
  • #​1871 Guard the counter value caches with a lock
  • #​1872 Sign sub-hour UTC offsets

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

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

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>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Aug 29, 2026
@dependabot
dependabot Bot requested a review from ivanvyd as a code owner August 29, 2026 08:09
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code labels Aug 29, 2026
@ivanvyd

ivanvyd commented Aug 29, 2026

Copy link
Copy Markdown
Owner

Closing this Dependabot bump. The major-version jumps — Microsoft.NET.Test.Sdk 18.8.1 → 18.9.0, xunit.v3 3.2.2 → 4.0.0, xunit.runner.visualstudio 3.1.5 → 4.0.0, and Verify.XunitV3 31.28.0 → 32.0.0 — drop VSTest support on .NET 10 SDK, and the test suite does not yet use Microsoft Testing Platform.

Repro on the current PR's CI: Microsoft.Testing.Platform.MSBuild 2.3.3 reports Testing with VSTest target is no longer supported by Microsoft.Testing.Platform on .NET 10 SDK and later. If you use dotnet test, you should opt-in to the new dotnet test experience. (https://aka.ms/dotnet-test-mtp-error). The test jobs on ubuntu-latest and windows-latest fail for that reason.

Two paths forward, both bigger than a single dependabot bump:

  1. Migrate to MTP mode. Add "test": { "runner": "Microsoft.Testing.Platform" } to global.json, change the CI command from --logger trx to --report-trx, address any xunit v4 / Verify v32 API changes, then re-bump. This is the right long-term move; the docs at https://learn.microsoft.com/dotnet/core/testing/unit-testing-with-dotnet-test say VSTest-mode support is "considered legacy in favor of the newer experience in .NET 10 SDK".

  2. Stay on the current test platform and ignore the major-version Dependabot groups (@dependabot ignore xunit.v3 major version, @dependabot ignore Verify.XunitV3 major version, @dependabot ignore Microsoft.NET.Test.Sdk major version) until the migration lands.

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: @dependabot recreate to rebase and re-open once migration is in flight, or wait for the migration PR to land and re-bump.

@ivanvyd ivanvyd closed this Aug 29, 2026
@dependabot @github

dependabot Bot commented on behalf of github Aug 29, 2026

Copy link
Copy Markdown
Contributor Author

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

@ivanvyd
ivanvyd deleted the dependabot/nuget/test-c0a258730e branch August 29, 2026 17:29
ivanvyd added a commit that referenced this pull request Aug 29, 2026
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.
ivanvyd added a commit that referenced this pull request Aug 30, 2026
* 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.
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