aboutsummaryrefslogtreecommitdiffstats
path: root/netconfsimulator
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-04-15 14:19:02 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2020-04-15 14:19:04 +0200
commitd019e3b6526a06b79ea0192a474b53a2c408fa72 (patch)
tree774966d6ac581567390965c89e119c667613b0d7 /netconfsimulator
parentbfba4727fb9da1579705f5b9b0a5dc1c37d13510 (diff)
Add JaCoCo to netconf simulator
Issue-ID: INT-1517 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com> Change-Id: Icba743d9a7d8db59a7694c98e57d591b0f30988b
Diffstat (limited to 'netconfsimulator')
-rw-r--r--netconfsimulator/pom.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/netconfsimulator/pom.xml b/netconfsimulator/pom.xml
index 35ef1e5..d03c650 100644
--- a/netconfsimulator/pom.xml
+++ b/netconfsimulator/pom.xml
@@ -240,6 +240,28 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.jacoco</groupId>
+ <artifactId>jacoco-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>prepare-agent</id>
+ <goals>
+ <goal>prepare-agent</goal>
+ </goals>
+ </execution>
+ <execution>
+ <id>report</id>
+ <goals>
+ <goal>report</goal>
+ </goals>
+ <configuration>
+ <dataFile>${project.build.directory}/code-coverage/jacoco.exec</dataFile>
+ <outputDirectory>${project.reporting.outputDirectory}/jacoco-ut</outputDirectory>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<profiles>