8 lines
481 B
Bash
8 lines
481 B
Bash
|
#dotnet test --test-adapter-path:. --logger:"junit;LogFilePath=../artifacts/{assembly}-test-result.xml;MethodFormat=Default;FailureBodyFormat=Verbose" --collect:"XPlat Code Coverage"
|
||
|
#dotnet new tool-manifest
|
||
|
#dotnet tool install dotnet-reportgenerator-globaltool
|
||
|
#dotnet tool run reportgenerator -reports:tests/*/TestResults/*/coverage.cobertura.xml -targetdir:./coverage "-reporttypes:Cobertura;TextSummary"
|
||
|
#grep "Line coverage" coverage/Summary.txt
|
||
|
|
||
|
echo "Line coverage 0.00%"
|