Skip to content

Migrate tests to Microsoft.Testing.Platform - #588

Open
Evangelink wants to merge 1 commit into
nietras:mainfrom
Evangelink:dev/amauryleve/migrate-tests-to-mtp
Open

Migrate tests to Microsoft.Testing.Platform#588
Evangelink wants to merge 1 commit into
nietras:mainfrom
Evangelink:dev/amauryleve/migrate-tests-to-mtp

Conversation

@Evangelink

Copy link
Copy Markdown

Why

The test suite still depended on VSTest-specific runner configuration and command-line arguments. Moving every test project together to Microsoft.Testing.Platform enables the native .NET 10 test experience, direct executable test runs, and avoids the unsupported mixed-platform state.

What changed

  • Enable the native Microsoft.Testing.Platform runner through global.json and shared MSTest runner properties.
  • Build both test projects as executables and replace the VSTest coverage collector with the MTP code coverage extension.
  • Update GitHub Actions and PowerShell scripts to use MTP coverage, GitHub reporting, and architecture arguments.
  • Remove VSTest-only logger, collection, runsettings, and parallel switches.

Validation

  • Release build succeeds with 0 warnings and 0 errors.
  • Full MTP suite passes: 2,378 tests, 0 failures, 0 skipped.
  • Direct Sep.XyzTest.exe execution passes 20 tests.
  • Cobertura coverage artifacts are generated successfully.

Note

global.json remains pinned to stable .NET SDK 10.0.400. Local verification used the installed 10.0.400 preview SDK explicitly because the stable SDK was not available on the validation machine.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant