-
Notifications
You must be signed in to change notification settings - Fork 0
/
clover-report.xml
27 lines (27 loc) · 1.3 KB
/
clover-report.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<project name="Clover Report" default="current">
<!-- Initialize Clover -->
<clover-setup initString="${cloverdb}"/>
<target name="historical">
<!-- Empty as we're not interested in historical reports right now -->
</target>
<target name="current">
<clover-report>
<current outfile="${output}" title="${title}">
<format type="html"/>
<!-- Declare naming convention in order to have test classes listed on the "Test" tab in HTML report -->
<testsources dir="src/test">
<!-- Use Maven-Failsafe-Plugin naming convention -->
<include name="**/IT*.java"/>
<include name="**/*IT.java"/>
<include name="**/*ITCase.java"/>
<!-- Use Maven-Surefire-Pugin naming convention -->
<include name="**/Test*.java"/>
<include name="**/*Test.java"/>
<include name="**/*TestCase.java"/>
</testsources>
<!-- Tell Clover to get test results directory as defined in pom.xml. They will be listed on "Results" tab -->
<testresults dir="target/test-report" includes="TEST-*.xml"/>
</current>
</clover-report>
</target>
</project>