configuring code coverage
This commit is contained in:
Родитель
9b75c6fe1b
Коммит
8f2220a2d9
|
@ -32,3 +32,7 @@ run/
|
|||
tools/
|
||||
*.log
|
||||
lib/
|
||||
|
||||
# Generated Files #
|
||||
############
|
||||
AdapterTestCoverage.xml
|
|
@ -13,4 +13,8 @@ test:
|
|||
|
||||
# scripts to run after tests
|
||||
after_test:
|
||||
- cmd: Runsamples.cmd --validate
|
||||
- .\csharp\packages\OpenCover.4.6.166\tools\OpenCover.Console.exe -register:user -target:.\csharp\packages\NUnit.Console.3.0.1\tools\nunit3-console.exe -register:user "-targetargs:"".\csharp\AdapterTest\bin\Debug\AdapterTest.dll"" " -filter:"+[AdapterTest]*" -excludebyattribute:*.ExcludeFromCodeCoverage* -hideskipped:All -output:.\AdapterTestCoverage.xml
|
||||
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
|
||||
- pip install codecov
|
||||
- codecov -f "AdapterTestCoverage.xml"
|
||||
# - cmd: Runsamples.cmd --validate
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
<package id="Moq" version="4.2.1510.2205" targetFramework="net45" />
|
||||
<package id="Newtonsoft.Json" version="7.0.1" targetFramework="net45" />
|
||||
<package id="NUnit" version="3.0.1" targetFramework="net45" />
|
||||
<package id="NUnit.Console" version="3.0.1" developmentDependency="true" />
|
||||
<package id="Razorvine.Pyrolite" version="4.10.0.0" targetFramework="net45" />
|
||||
<package id="Razorvine.Serpent" version="1.12.0.0" targetFramework="net45" />
|
||||
<package id="OpenCover" version="4.6.166" targetFramework="net45" developmentDependency="true" />
|
||||
</packages>
|
Загрузка…
Ссылка в новой задаче