coverlet-coverage / coverlet

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

[BUG] coverage.cobetura.file.xml filenames inconsistent between .NET 7 and .NET 8 #1658

Open groogiam opened 1 month ago

groogiam commented 1 month ago

Describe the bug There appears to be an pretty severe inconsistency between the cobetura output in .NET 7 and .NET 8. Please see issue below for details.

To Reproduce See https://github.com/microsoft/azure-pipelines-tasks/issues/19901 for the difference in output between .NET 7 and .NET 8

Expected behavior Output should be consistent across runtimes. Or at a minimum there should be a flag to have .NET 8 output the full path to the file.

Actual behavior See linked issue.

Configuration (please complete the following information): Please provide more information on your .NET configuration:

Additional context Add any other context about the problem here.

:exclamation: Please also read Known Issues