-
-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathrununittests.ps1
More file actions
13 lines (12 loc) · 890 Bytes
/
rununittests.ps1
File metadata and controls
13 lines (12 loc) · 890 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
# Para instalar o Report Generator:
# To install the Report Generator:
# dotnet tool install -g dotnet-reportgenerator-globaltool
Remove-Item "./TestResults/" -Recurse -ErrorAction Ignore
dotnet test --collect:"XPlat Code Coverage" --results-directory "./TestResults/" --filter FullyQualifiedName!~Pororoca.Test.Tests
reportgenerator "-reports:./TestResults/**/coverage.cobertura.xml" `
"-targetdir:./TestResults/" `
"-assemblyfilters:+Pororoca.Domain;+Pororoca.Domain.OpenAPI" `
"-classfilters:-System.Threading.RateLimiting.*;-System.Collections.Generic.*;-Pororoca.Domain.Features.Common.PororocaLogger" `
"-riskhotspotclassfilters:-System.Threading.RateLimiting.*;-System.Collections.Generic.*;-Pororoca.Domain.Features.Common.PororocaLogger" `
"-filefilters:-*.g.cs" `
"-reporttypes:Html"