devlooped / dotnet-trx

Pretty-print test results from trx files
MIT License
33 stars 1 forks source link

If there are multiple trx files, only render the results for the newest one for a given assembly #2

Closed kzu closed 2 months ago

kzu commented 2 months ago

Since each test run actually emits a different file name by default when running dotnet test -l trx. Make it the default too.

The option could be:

kzu commented 2 months ago

This should be the default behavior anyway and built-in, and now is!

We now keep the outcome of the most recently run test (by its constant test id) when processing multiple trx files, wihch are now all aggregated too. If you don't want aggregation, you can simply run the tool from each folder in turn multiple times (i.e. just run a trx file search first with powershell and pass --path for each).