Tests locator

master
Inga 🏳‍🌈 7 years ago
parent 1ac6e72a4c
commit 3ce70cb96d
  1. 1
      OpenCoverForProject.cmd
  2. 3
      appveyor.yml

@ -1 +0,0 @@
C:\ProgramData\chocolatey\lib\opencover.portable\tools\OpenCover.Console -register -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test --no-build --logger:trx;LogFileName=results.trx --filter Category!=Integration %*" -filter:"+[*]* -[*.Tests]*" -mergeoutput -output:OpenCover.xml -oldStyle

@ -15,6 +15,5 @@ build_script:
test_script:
- dotnet build /t:Rebuild /p:DebugType=full /p:DebugSymbols=true EternalArrowBackup.sln
- OpenCoverForProject Tests\ContentTransformer\ClearText\EternalArrowBackup.ContentTransformer.ClearText.Tests.csproj
- OpenCoverForProject Tests\Hasher\SHA1\EternalArrowBackup.Hasher.SHA1.Tests.csproj
- ps: Get-ChildItem *.Tests.csproj -Recurse | % {C:\ProgramData\chocolatey\lib\opencover.portable\tools\OpenCover.Console -register -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:"test --no-build --logger:trx;LogFileName=results.trx --filter Category!=Integration $_" -filter:"+[*]* -[*.Tests]*" -mergeoutput -output:OpenCover.xml -oldStyle}
- codecov -f OpenCover.xml

Loading…
Cancel
Save