From 3ce70cb96d0d9c05f6b50710f9e33137b99438b7 Mon Sep 17 00:00:00 2001 From: Inga Lovinde <52715130+inga-lovinde@users.noreply.github.com> Date: Fri, 21 Jul 2017 10:42:25 +0300 Subject: [PATCH] Tests locator --- OpenCoverForProject.cmd | 1 - appveyor.yml | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) delete mode 100644 OpenCoverForProject.cmd diff --git a/OpenCoverForProject.cmd b/OpenCoverForProject.cmd deleted file mode 100644 index f10a2fb..0000000 --- a/OpenCoverForProject.cmd +++ /dev/null @@ -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 diff --git a/appveyor.yml b/appveyor.yml index 44cd05c..4072855 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -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