rc-migration-tests/.vscode/tasks.json

23 lines
973 B
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Generate Code Coverage Report",
"group": {
"kind": "test",
"isDefault": true
},
"command": "powershell",
"type": "shell",
"args": [
"-Command",
"& { dotnet test ./vb-migration/Strata.Base.Internal.Tests/Strata.Base.Internal.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura /p:CoverletOutput=./vb-migration/Strata.Base.Internal.Tests/TestResults/*/coverage.cobertura.xml; if ($?) { reportgenerator -reports:./vb-migration/Strata.Base.Internal.Tests/TestResults/*/coverage.cobertura.xml -targetdir:coverage-report -reporttypes:Html; Start-Process coverage-report/index.html } }"
],
"presentation": {
"reveal": "always",
"panel": "new"
},
"problemMatcher": []
}
]
}