Skip to content

Commit

Permalink
fixed code coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkis117 committed Dec 14, 2016
1 parent 4d3336b commit bd1346f
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 23 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ build_script:
- ps: ./Build.ps1
test_script:
- nuget.exe install OpenCover -ExcludeVersion
- OpenCover\tools\OpenCover.Console.exe -register:user -filter:"+[Mime-Detective]*" -target:"dotnet.exe" "-targetargs:test .\test\Mime-Detective.Tests" -returntargetcode -hideskipped:All -output:coverage.xml
- OpenCover\tools\OpenCover.Console.exe -register:user -filter:"+[Mime-Detective]* -[Mime-Detective.Tests]*" -target:"dotnet.exe" "-targetargs:test .\test\Mime-Detective.Tests" -returntargetcode -hideskipped:All -output:coverage.xml
- "SET PATH=C:\\Python34;C:\\Python34\\Scripts;%PATH%"
- pip install codecov
- codecov -f "coverage.xml"
Expand Down
45 changes: 23 additions & 22 deletions test/Mime-Detective.Tests/project.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
{
"testRunner": "xunit",
"testRunner": "xunit",

"dependencies": {
"xunit": "2.1.0",
"dotnet-test-xunit": "1.0.0-rc2-build10025",
"NETStandard.Library": "1.6.0",
"Mime-Detective": { "target": "project" }
},
"frameworks": {
"netcoreapp1.0": {
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": [
"dnxcore50",
"portable-net45+win8"
]
}
}
}
"dependencies": {
"Mime-Detective": { "target": "project" },
"xunit": "2.1.0",
"dotnet-test-xunit": "1.0.0-rc2-build10025"
},

"frameworks": {
"netcoreapp1.0": {
"define": [ "ASYNCLOCAL" ],
"dependencies": {
"Microsoft.NETCore.App": {
"type": "platform",
"version": "1.0.0"
}
},
"imports": [
"dnxcore50",
"portable-net45+win8"
]
}
}
}

0 comments on commit bd1346f

Please sign in to comment.