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-09-29 12:34:17 +0200
commit404120d28cdb94866a66bb085752c3076c1fcd76 (patch)
tree08f820595315a5717ccba304d4ec3ef22d558657 /infra/it/it-test/pom.xml
parent6b29b8c107356947cf05f7699ebe384a44d7ca7d (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 db3200f73..422127f08 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