-
Notifications
You must be signed in to change notification settings - Fork 323
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
Terminal logger integration #4843
Comments
Current bugs:
|
msbuild part: dotnet/msbuild@main...exp/terminal-logger-for-vstest discussion points:
|
Dispatch to inner needs to somehow parallelize Solution proposed here, works great. Just needs the Property rename, because disabling it won't fully disable test parallelization. E.g. -p:TestTfmInParallel=false |
Next up:
|
We ended up writing most of the output in net9-preview6, making it as useful as before. |
.NET 9 preview1 (since 9.0.100-alpha.1.24073.1) is shipping with MSBuild TerminalLogger enabled by default for most dotnet workloads, including
dotnet test
. The experience is not perfect, so I am looking at ways to improve it, together with the terminal logger team.The change for the vstest logger to integrate better with MSBuild was done here #2702 , it traces errors via msbuild output so it is visible in binary logger viewer etc.
This experience, paired with disabling other workarounds such as not reusing test nodes is enabled by default in net9 and can be opt-out by
-p:VSTestUseMSBuildOutput=false
build property or byMSBUILDENSURESTDOUTFORTASKPROCESSES=1
(after #4853). The change is implemented here: dotnet/sdk#38098My wishlist:
Temporary output (appears when it happens and is rolled out when there is too much):
Static output:
The text was updated successfully, but these errors were encountered: