You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in the docs it directs folks trying to merge coverage reports to look at a comment from 2020 with some Powershell script to help merge coverage reports.
For example, if your coverage reports are under artifacts/coverage and you have Cobertura format, you can use glob patterns to work around the randomly named directories VSTest creates and merge them like this:
Currently in the docs it directs folks trying to merge coverage reports to look at a comment from 2020 with some Powershell script to help merge coverage reports.
Since then, the
dotnet-coverage
tool has been released and allows you to merge coverage reports pretty easily.For example, if your coverage reports are under
artifacts/coverage
and you have Cobertura format, you can use glob patterns to work around the randomly named directories VSTest creates and merge them like this:dotnet-coverage merge artifacts/coverage/**/coverage.cobertura.xml -f cobertura -o artifacts/coverage/coverage.xml
It might be interesting to update the docs accordingly - this is far easier than the current suggestion.
The text was updated successfully, but these errors were encountered: