summaryrefslogtreecommitdiffstats
path: root/infra/minimal-distribution-test
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/minimal-distribution-test
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/minimal-distribution-test')
-rw-r--r--infra/minimal-distribution-test/pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/infra/minimal-distribution-test/pom.xml b/infra/minimal-distribution-test/pom.xml
index b57abfc22..4a566a6ad 100644
--- a/infra/minimal-distribution-test/pom.xml
+++ b/infra/minimal-distribution-test/pom.xml
@@ -96,4 +96,17 @@
<scope>test</scope>
</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