add coverage things

This commit is contained in:
Tommy Parnell
2016-11-08 21:59:33 -05:00
parent 754d7cbff4
commit 1cbd7873e1
9 changed files with 68 additions and 12 deletions

6
Coverage.ps1 Normal file
View File

@@ -0,0 +1,6 @@
nuget install OpenCover -Version 4.6.519 -OutputDirectory tools
nuget install coveralls.net -Version 0.7.0 -OutputDirectory tools
.\tools\OpenCover.4.6.519\tools\OpenCover.Console.exe -target:"C:\Program Files\dotnet\dotnet.exe" -targetargs:" test "".\src\UriBuilder.Fluent.UnitTests"" -f net461" -register:user -filter:"+[UriBuilder*]* -[*Tests]*" -returntargetcode -output:opencover_results.xml
.\tools\coveralls.net.0.7.0\tools\csmacnz.Coveralls.exe --opencover -i .\opencover_results.xml