microsoft / testfx

MSTest framework and adapter
MIT License
714 stars 253 forks source link

Add options to configure output. #3492

Open nohwnd opened 1 month ago

nohwnd commented 1 month ago

Describe the bug

When the initial implementation of https://github.com/microsoft/testfx/pull/3292 is merged, we need options to control the verbosity (e.g. if we show passed tests), and if assembly info should be written.

Evangelink commented 1 month ago

I would love to have the following options:

  1. Customize output style:

    1. Live: output as in #3292
    2. Tree: we would display tests as a tree
    3. List or flat: each test is displayed on its line
    4. ...
  2. Customize information:

    1. Show passed
    2. Show skipped
    3. Show failed
    4. Show summary
    5. Show strack trace
    6. Show duration
    7. Show standard output
    8. Show error output
    9. ...
  3. Customize test name:

    1. Show method display name
    2. Show fully qualified name
    3. Show tree name
    4. ...
nohwnd commented 4 weeks ago

Added --no-progress and --no-ansi in #3550.

nohwnd commented 1 week ago

I also added --output https://learn.microsoft.com/en-us/dotnet/core/testing/unit-testing-platform-extensions-output