-
Notifications
You must be signed in to change notification settings - Fork 326
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
Improve readability of dotnet test #1836
Comments
Should probably move this issue to microsoft/vstest. |
A little (more) color (when supported) would probably help a lot as well 👍🏻 |
Would be great if this command had an option to output in a more structured format, e.g. XML and/or JSON as an option - not many real standards in this space, TAP? |
I see what's going on here...
😝 |
I'm all for making the test output less noisy, but
is more noisy than
If I run 10 test suites, I'd much rather see 10 lines than 50 lines. Also, a problem with multi-line output, where the meaning of one line is dependent on the meaning of the previous, is that it completely breaks down when running test suits in parallel, e.g.
|
And specifically, IMO the new output in 2.2.300 is at least partially a regression, i.e. in older versions:
in 2.2.300:
This is now worse than before. |
Moreover, it would be great if the result line could repeat the test project and platform:
|
It could drop a few more words, and is the full directory interesting? Consider playing with the verbosity settings so folks can tune this if @adamralph 's opinion isn't widespread.
|
@KathleenDollard true, we could probably drop the path, since two test assemblies with the same name in different paths is an edge case. We could also use the TFM for the platform:
|
How about we have the single line for |
Coming back to this, I find this hard to parse. Maybe (and I'm not on that team, just offering an opinion)
|
@KathleenDollard personally I find that list of whitespaced numbers too difficult to tie back to My current vote is for:
or if we loosen the grammar slightly:
(The critical aspect being minimal = one line.) And at higher verbosity I don't really care:
|
Tagging @cvpoienaru |
It looks like all work is done her. Closing. |
From @terrajobst on October 22, 2018 1:21
The command line output of
dotnet test
is extremely noisy which makes it hard to parse. Instead of this:I wish the output would be like:
Requests like #10165 are related and are an indicator that folks working on the command line want legible output.
Copied from original issue: dotnet/cli#10207
The text was updated successfully, but these errors were encountered: