dorny / test-reporter

Displays test results from popular testing frameworks directly in GitHub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to write more info for passing tests

Mikkel-Gram opened this issue · comments

Hi
I am using test-reporter for dotnet tests, so i am not sure the functionality is the same for alle frameworks. But for dotnet, the functionality is that no annotations are added for passing tests, while failed tests gets failure message + stacktrace etc. I think this makes sense for most cases.

However i could also see some cases where it might be useful to be able to add more annotations to a test report, even if the tests are passing. For example if you have a benchmark test running that will pass, but you want to investigate the performance metric over time (could be processing time or something else).
I could think of more examples where this would be useful, so i think i feature to include annotations even for passed tests would be a good addition to the reporter. I have already investigated the trx files for dotnet, and they at least do contain stdout, etc, which could be used to make the annotations.

Hope you will consider this addition to the action :)

Really good work on the action so far, Github actions should thank you because the service would be a lot poorer without it 👍