summaryrefslogtreecommitdiffstats
path: root/infra/it/it-test/pom.xml
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2017-09-29 10:52:07 +0200
committerMarek Gradzki <mgradzki@cisco.com>2017-10-02 12:14:28 +0200
commitc242de2e9d47102f99b754afc8cdff7a2a517843 (patch)
tree8194fcb4fe1dc4919d919b15ea4367dbee4a2d68 /infra/it/it-test/pom.xml
parent40bcf70a54a277f1391ebb854d9d2b879ca07a27 (diff)
Include IT coverage in JaCoCo and Sonar reports
* introduces jacoco-it.exec which stores aggregated IT test execution data, * configures Sonar to use jacoco-it.exec to report IT coverage, * marks following modules as integration tests: - it-test - minimal-distribution-test - bgp-distribution-test Change-Id: I538c1febb6112a6abad29061f6b00259a0d79f9f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'infra/it/it-test/pom.xml')
-rw-r--r--infra/it/it-test/pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/infra/it/it-test/pom.xml b/infra/it/it-test/pom.xml
index acb800481..0ad4c41ca 100644
--- a/infra/it/it-test/pom.xml
+++ b/infra/it/it-test/pom.xml
@@ -70,4 +70,17 @@
<version>${project.version}</version>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <configuration>
+ <!-- Include module's tests in IT coverage report -->
+ <destFile>${sonar.jacoco.itReportPath}</destFile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project> \ No newline at end of file