This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"label": "Test", | |
"type": "shell", | |
"command": "dotnet test [caminho do projeto de testes] /p:CollectCoverage=true /p:CoverletOutputFormat=opencover", | |
"group": "test", | |
"presentation": { | |
"reveal": "silent", | |
"panel": "shared" | |
} | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (-Not (Get-Command -Name reportgenerator -ErrorAction SilentlyContinue)) | |
{ | |
Write-Output "Instalando reportgenerator" | |
Invoke-Expression "dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.0.0" | |
} | |
Write-Output "Listando arquivos csproj" | |
$reports = [System.Collections.ArrayList]@() | |
Get-ChildItem -Path .\test -Recurse -Filter *.csproj -File | ForEach-Object { | |
Write-Output "Executando testes para o projeto $($_.BaseName)/$($_.Name)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[config] | |
command = deploy.cmd |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[string]$format = "opencover", | |
[bool]$nohtml = $false | |
) | |
if (-Not (Get-Command -Name reportgenerator -ErrorAction SilentlyContinue)) | |
{ | |
Write-Output "Installing reportgenerator" | |
Invoke-Expression "dotnet tool install --global dotnet-reportgenerator-globaltool --version 4.0.9" | |
} |
OlderNewer