Fix PassingNoArguments test: disable --diag to preserve help output by nohwnd · Pull Request #15583 · microsoft/vstest (original) (raw)
#15572 added automatic --diag\ to \InvokeVsTest\ (default \ rue). The \PassingNoArgumentsToVsTestConsoleShouldPrintHelpMessage\ test passes no arguments to vstest.console and checks for help text, but --diag\ changes the output and truncates the help message.
Fix: pass \collectDiagnostics: false\ to preserve the expected output.
Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com