From d97d6d8eae975e68537b52bce8b30a53b1d96530 Mon Sep 17 00:00:00 2001 From: Amaury Leveugle Date: Wed, 26 Aug 2026 16:53:35 +0200 Subject: [PATCH] Update MTP help snapshot Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 93865f10-f2c3-4bcb-9664-ad9c39094d1f --- ...HelpSnapshotTests.VerifyMTPHelpOutput.verified.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/test/dotnet.Tests/CommandTests/Test/snapshots/MTPHelpSnapshotTests.VerifyMTPHelpOutput.verified.txt b/test/dotnet.Tests/CommandTests/Test/snapshots/MTPHelpSnapshotTests.VerifyMTPHelpOutput.verified.txt index a0001d8ae7f9..bc092ca3e41e 100644 --- a/test/dotnet.Tests/CommandTests/Test/snapshots/MTPHelpSnapshotTests.VerifyMTPHelpOutput.verified.txt +++ b/test/dotnet.Tests/CommandTests/Test/snapshots/MTPHelpSnapshotTests.VerifyMTPHelpOutput.verified.txt @@ -61,8 +61,8 @@ Platform Options: When both --ansi and --no-ansi are provided, --ansi wins. --debug Allows to pause execution in order to attach to the process for debug purposes. --diagnostic Enable the diagnostic logging. The default log level is 'Trace'. - The file will be written in the output directory with the name log_[yyMMddHHmmssfff].diag - --diagnostic-file-prefix Prefix for the log file name that will replace '[log]_.' + The file will be written in the output directory with the name log_[yyMMddHHmmssfff].diag. + --diagnostic-file-prefix Replace '[log]_.' with the specified log file name prefix. --diagnostic-synchronous-write Force the built-in file logger to write the log synchronously. Useful for scenario where you don't want to lose any log (i.e. in case of crash). Note that this is slowing down the test execution. @@ -88,11 +88,14 @@ Platform Options: Valid values are 'All', 'Failed', 'None'. Default is 'All' (or 'Failed' when an LLM/AI agent environment is detected). --show-stdout Determines when to show captured standard output of a test. Valid values are 'All', 'Failed', 'None'. Default is 'All' (or 'Failed' when an LLM/AI agent environment is detected). + --show-test-results Selects which test outcomes render a per-test result block (with its informative details, stack trace, and captured output) in the terminal. + Valid values are 'passed', 'failed' (also covers errored, timed out, and canceled tests), 'skipped', 'all', and 'none'. Combine multiple values as a comma- or space-separated list, or by repeating the option; 'all' and 'none' cannot be combined with any other value. + Default is 'failed' when '--output' is 'Minimal', 'failed' and 'skipped' when it is 'Normal' or omitted, and 'all' when it is 'Detailed'. An explicit '--show-test-results' always takes precedence over '--output', regardless of the order they are passed in. --zero-tests-policy Specifies how a run that executed no tests is treated. Valid values are 'allow-skipped' (the default) which counts skipped tests as run, so only a run where no test was found at all fails with exit code 8, and 'strict' which treats skipped tests as not run, so a run where every test was skipped (or no test was found) fails with exit code 8. Extension Options: - --report-trx Enable generating TRX report + --report-trx Enable generating TRX report. --report-trx-filename The name of the generated TRX report. May include a relative or absolute path; relative paths are resolved against the test results directory and missing directories are created. Supports the following placeholders: {pname} (test application name), {pid} (process ID), {asm} (entry assembly name), {tfm} (target framework moniker), {arch} (process architecture), {time} (timestamp). - Example: MyReport_{tfm}.trx \ No newline at end of file + Example: 'MyReport_{tfm}.trx'. \ No newline at end of file