Repository navigation
Use built-in MSTest combinatorial data - #56115
Merged
Evangelink merged 1 commit intoSep 3, 2026
Merged
Evangelink merged 1 commit into
Evangelink merged 1 commit into
Conversation
Update to stable MSTest 4.4.0 and Microsoft.Testing.Platform 2.4.0, then remove the third-party Combinatorial.MSTest dependency in favor of MSTest's built-in attributes. Co-authored-by: Copilot App <[email protected]> Copilot-Session: b9151c82-340b-46fd-a209-ff5ac2127b11
Evangelink
requested review from
a team,
lbussell and
mthalman
as code owners
September 3, 2026 09:10
|
Azure Pipelines: Successfully started running 2 pipeline(s). 1 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The changes consistently remove the third-party combinatorial dependency, update consumers to the new MSTest combinatorial namespace, and align version pins/documentation accordingly.
Review tier: Lite
Findings: None
What changed in this PR
This pull request removes the third-party Combinatorial.MSTest dependency from the SDK’s test projects and switches consumers to MSTest 4.4’s combinatorial API surface, while also updating the coherent testfx dependency set to stable versions.
Changes:
- Remove
Combinatorial.MSTestpackage usage and update test projects to useMicrosoft.VisualStudio.TestTools.UnitTesting.Combinatorial. - Update pinned testfx versions (MSTest/MSTest.Sdk 4.4.0, Microsoft.Testing.Platform 2.4.0) across repo versioning files.
- Update contributor/agent guidance to recommend MSTest’s built-in combinatorial support.
| File | Description |
|---|---|
| test/Microsoft.Extensions.DotNetDeltaApplier.Tests/StreamExtensionsTests.cs | Switch combinatorial using to MSTest’s combinatorial namespace. |
| test/Microsoft.Extensions.DotNetDeltaApplier.Tests/Microsoft.Extensions.DotNetDeltaApplier.Tests.csproj | Drop Combinatorial.MSTest package reference. |
| test/dotnet.Tests/dotnet.Tests.csproj | Drop Combinatorial.MSTest and add global using for MSTest combinatorial namespace. |
| test/dotnet-watch.Tests/HotReload/SourceFileUpdateTests.HotReloadNotSupported.cs | Switch combinatorial using to MSTest’s combinatorial namespace. |
| test/dotnet-watch.Tests/dotnet-watch.Tests.csproj | Replace global using + remove Combinatorial.MSTest package reference. |
| test/AGENTS.md | Add guidance recommending built-in MSTest combinatorial data support. |
| src/Microsoft.CodeAnalysis.NetAnalyzers/tests/Microsoft.CodeAnalysis.NetAnalyzers.UnitTests/Microsoft.CodeAnalysis.NetAnalyzers.UnitTests.csproj | Remove Combinatorial.MSTest and add global using for MSTest combinatorial namespace. |
| global.json | Update MSTest.Sdk msbuild-sdk pin to stable 4.4.0. |
| eng/Version.Details.xml | Update coherent testfx dependency versions + SHAs to stable releases. |
| eng/Version.Details.props | Update testfx version properties to stable 2.4.0 / 4.4.0. |
| eng/dependabot/Packages.props | Remove Combinatorial.MSTest from Dependabot-managed package versions. |
| .github/skills/migrate-xunit-to-mstest/SKILL.md | Update migration guidance to point to MSTest 4.4+ combinatorial support. |
| .github/skills/migrate-xunit-to-mstest/references/mapping-cheatsheet.md | Update mapping cheatsheet to point to MSTest 4.4+ combinatorial support. |
Evangelink
enabled auto-merge (squash)
September 3, 2026 10:01
azat-msft
approved these changes
Sep 3, 2026
Evangelink
had a problem deploying
to
copilot-pat-pool
September 3, 2026 11:15 — with
GitHub Actions
Failure
This branch had an error being deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
MSTest 4.4 includes built-in combinatorial data support, so the SDK no longer needs the third-party
Combinatorial.MSTestpackage.This updates the coherent testfx dependency set to stable MSTest/MSTest.Sdk 4.4.0 and Microsoft.Testing.Platform 2.4.0. The four consuming test projects now import
Microsoft.VisualStudio.TestTools.UnitTesting.Combinatorial, and repository test-authoring and migration guidance point to the built-in API.Validation:
build.cmdStreamExtensionsTestscasesDoNotDirectlyAwaitATaskTestscasesFileWatcherTestscasesDotnetProjectConvertTestscases