Document dotnet test whole-run zero-tests verdict and global/per-module --minimum-expected-tests - #55938
Open
meaghanlewis with Copilot wants to merge 4 commits into
Open
Document dotnet test whole-run zero-tests verdict and global/per-module --minimum-expected-tests#55938meaghanlewis with Copilot wants to merge 4 commits into
meaghanlewis with Copilot wants to merge 4 commits into
Conversation
Contributor
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
…xpected-tests Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
…ated prose Co-authored-by: meaghanlewis <10103121+meaghanlewis@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Document dotnet test zero-tests verdict and minimum expected tests
Document dotnet test whole-run zero-tests verdict and global/per-module --minimum-expected-tests
Sep 10, 2026
meaghanlewis
marked this pull request as ready for review
September 10, 2026 19:47
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Member
|
Validated the documentation against the current Key corrections:
I also corrected the existing MTP version note for |
Contributor
|
@Evangelink thanks for your corrections. |
meaghanlewis
approved these changes
Sep 11, 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.
dotnet teston the Microsoft.Testing.Platform path gained a whole-run "zero tests ran" verdict plus a global vs. per-module minimum-expected-tests model (shipped in the .NET 11 SDK, 11.0.1xx). None of it was on Learn.docs/core/tools/dotnet-test-mtp.md--minimum-expected-testsis now described as a whole-run option, with a pointer to the per-module form and an SDK availability note.New Whole-run and per-module minimums section covering:
--argument split (before = global/orchestrator, after = local/forwarded to each module)ZeroTests) normalized to success before aggregation while keeping itsExit code: 8diagnosticMinimumExpectedTestsPolicyViolation) for an unmet explicit minimum--minimum-expected-tests 0is not an alias for--ignore-exit-code 8New example:
docs/core/testing/microsoft-testing-platform-troubleshooting.md--minimum-expected-tests, and a follow-up sentence states why 8 and 9 stay distinct.docs/core/testing/microsoft-testing-platform-cli-options.md--minimum-expected-testsentry notes the global vs. per-module scope underdotnet testand the--ignore-exit-code 8clarification.Content is derived from the issue description (microsoft/testfx#9709, dotnet/sdk#55362); the behavioral claims and the SDK version gating are worth a maintainer check.
Internal previews
Build report