I am using the following command to run my tests, in a solution that has several projects:
dotnet test "../MySoluction.sln"
--logger "trx"
--logger "xunit" <--------- Here is the issue
--results-directory ./TestResults
/p:CollectCoverage=true
/p:CoverletOutputFormat=cobertura
/p:Exclude="[xunit.]"
dotnet core SKD 3.1.300
`
`
I am using the following command to run my tests, in a solution that has several projects:
dotnet test "../MySoluction.sln" --logger "trx"
--logger "xunit" <--------- Here is the issue --results-directory ./TestResults /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:Exclude="[xunit.]"
--logger:"xunit;LogFilePath=(MyProjectName).coverage.xml"
I would like the generated xml file to have the same name as the .csproj