dotnet / docfx

Static site generator for .NET API documentation.
https://dotnet.github.io/docfx/
MIT License
4.03k stars 858 forks source link

chore: Reduce `dotnet test` log messages #10092

Closed filzrev closed 2 months ago

filzrev commented 2 months ago

This PR change output log level of dotnet test commands.

Currently a lot of messages are outputted on dotnet test command. And it's hard to find failed tests. (Need to grep [FAIL] from logs)

So this PR change MSBuild log level from Normal to Minimal (Output warnings/errors only) And additionally output test results summary when test finished.

One problem of this PR is that normal logs are not output to the GitHub Actions logs. If detailed test logs are needed in future. It can be resolved by adding additional loggers (e.g. file logger or trx logger)