Upgrade OpenCover and ReportGenerator, parameterize OpenCover to build

Now one can run coverage with open cover using -D:test.coverage.tool=opencover
This commit is contained in:
Marko Lahma
2013-01-13 19:09:32 +02:00
parent adb3498653
commit 10b6d3a747
13 changed files with 310 additions and 29 deletions

View File

@@ -191,7 +191,8 @@ ${test.withcoverage}: flag indicating whether to invoke tests with test-coverage
</if>
<if test="${test.withcoverage}" >
<call target="common.run-tests.ncover" />
<call target="common.run-tests.ncover" if="${test.coverage.tool == 'ncover'}" />
<call target="common.run-tests.opencover" if="${test.coverage.tool == 'opencover'}" />
</if>
</target>