Closed as not planned
Description
Running dotnet test --collect "XPlat Code Coverage"
on a solution with multiple test projects and/or test projects with multiple target frameworks creates multiple coverage.cobertura.xml
files without any easy way to relate those back to the test project/target framework. (Can VSTest do this itself?) The output of dotnet test
contains this information, but it would be complicated to parse.
Since coverlet is providing the filename of the VSTest attachments, would it be possible to (optionally) include the assembly name and target framework? For example, with junit.testlogger I can use dotnet test --logger "junit;LogFilePath=TestResults.{assembly}.{framework}.xml
and have those placeholders filled in.