coverlet-coverage / coverlet

Cross platform code coverage for .NET
MIT License
2.93k stars 385 forks source link

Add --source-mapping-file to coverlet.console #1568

Closed jborean93 closed 5 months ago

jborean93 commented 6 months ago

Adds the option --source-mapping-file to coverlet.console that allows the caller to specify a custom source mapping file to use. This is used to then maps paths located in an assembly's debug symbols to local path when collecting coverage.

Fixes: https://github.com/coverlet-coverage/coverlet/issues/1565

MarcoRossignoli commented 5 months ago

@jborean93 can you rebase?

jborean93 commented 5 months ago

@MarcoRossignoli the PR has been rebased.

jborean93 commented 5 months ago

Thanks for looking at this and merging.

MarcoRossignoli commented 5 months ago

Thanks for your contribution!