Add code coverage artifact post-processing test - #55940
Merged
Evangelink merged 3 commits intoAug 26, 2026
Merged
Conversation
…260826.8 On relative base path root Microsoft.Testing.Platform From Version 2.4.0-preview.26418.7 -> To Version 2.4.0-preview.26426.8 MSTest , MSTest.Sdk From Version 4.4.0-preview.26418.7 -> To Version 4.4.0-preview.26426.8
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93865f10-f2c3-4bcb-9664-ad9c39094d1f
|
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.
Pull request overview
This PR adds an end-to-end dotnet test (MTP) scenario to validate artifact post-processing for Microsoft code coverage, updates TestFX dependency versions to a newer build, and refreshes artifact post-processing documentation to reflect currently shipping processors.
Changes:
- Add an E2E test that verifies
.coverageartifacts are merged across two test applications, while preserving original artifacts and honoring--no-artifact-post-processing. - Update TestFX-related dependency versions (MSTest.Sdk / MSTest / Microsoft.Testing.Platform) to a newer preview build.
- Update
dotnet testartifact post-processing documentation to list additional first-party processors beyond TRX.
Show a summary per file
| File | Description |
|---|---|
| test/dotnet.Tests/CommandTests/Test/GivenDotnetTestBuildsAndRunsArtifactPostProcessingMTP.cs | Adds new coverage merge E2E scenario + helper methods for running coverage and building a multi-project solution. |
| global.json | Updates the MSTest.Sdk MSBuild SDK version to match the newer TestFX build. |
| eng/Version.Details.xml | Updates TestFX dependency versions/SHA to the newer build. |
| eng/Version.Details.props | Updates property-backed TestFX package versions to the newer build. |
| documentation/general/dotnet-test-artifact-post-processing.md | Updates documentation to reflect more shipping post-processors and clarifies current behavior. |
Review details
- Files reviewed: 5/5 changed files
- Comments generated: 1
- Review effort level: Lite
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93865f10-f2c3-4bcb-9664-ad9c39094d1f
0101
approved these changes
Aug 26, 2026
Evangelink
deleted the
dev/amauryleve/complete-artifact-post-processing
branch
August 26, 2026 15:05
This was referenced Aug 26, 2026
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.
Closes #47613
Summary
dotnet testscenario proving Microsoft code coverage artifacts are consolidated across two MTP test applications--no-artifact-post-processingcontinues to report the two original coverage artifactsDependency
Depends on #55936, which flows the TestFX build containing
Microsoft.Testing.Extensions.CodeCoverage18.11.0-preview.26425.2 into SDK main.Validation
build.cmd -c DebugRunTargetedTests.cs --project test\dotnet.Tests\dotnet.Tests.csproj --filter "FullyQualifiedName~GivenDotnetTestBuildsAndRunsArtifactPostProcessingMTP.MultiProjectRun_MergesCodeCoverageArtifacts"RunTargetedTests.cs --project test\dotnet.Tests\dotnet.Tests.csproj --filter "FullyQualifiedName~MTPHelpSnapshotTests.VerifyMTPHelpOutput"