Skip to content

[release/7.0.2xx] [Backport] Prevent dotnet test verbosity from being ignored #29557

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 13, 2023

Conversation

eduherminio
Copy link
Member

Backport from #27992 - cherry-picked commit c4b8dcc.


One of the two aliases of Command instance (obtained from static class TestCommandParser, not a runtime instance of a command) needs to be passed to ForwardedOptionValues.

Debug visualization after the fix (note alias value):
New Picture (2)

The existing test ItUsesVerbosityPassedToDefineVerbosityOfConsoleLoggerOfTheTests was using only quiet mode and was testing for the wrong strings anyway (TestNamespace.VSTestTests.VSTestPassTest and TestNamespace.VSTestTests.VSTestFailTest, when only tests names are shown nowadays in case of verbosity >= normal), hence the regression.

This fixed 16122.

…rbosity-ignored

Prevent `dotnet test` verbosity from being ignored
@eduherminio eduherminio requested a review from a team as a code owner December 14, 2022 18:32
@ghost ghost added the Area-Infrastructure label Dec 14, 2022
@nohwnd nohwnd merged commit 98117c0 into dotnet:release/7.0.2xx Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants