From 051a186cf53b77a7efdfc1a7fe99006465256886 Mon Sep 17 00:00:00 2001 From: Holger Friedrich Date: Sun, 7 Apr 2024 10:29:51 +0200 Subject: [PATCH] [knx] Add JaCoCo test-coverage (#16507) Test coverage analysis is based on JaCoCo tool. Signed-off-by: Holger Friedrich --- bundles/org.openhab.binding.knx/pom.xml | 76 +++++++++++++++++++++++++ 1 file changed, 76 insertions(+) diff --git a/bundles/org.openhab.binding.knx/pom.xml b/bundles/org.openhab.binding.knx/pom.xml index fde5af42217..aa98cafbc89 100644 --- a/bundles/org.openhab.binding.knx/pom.xml +++ b/bundles/org.openhab.binding.knx/pom.xml @@ -49,6 +49,13 @@ + + org.jacoco + org.jacoco.agent + runtime + 0.8.11 + test + @@ -73,6 +80,75 @@ SPI-Consumer: java.util.ServiceLoader#load(java.lang.Class[tuwien.auto.calimero. + + + org.apache.maven.plugins + maven-surefire-plugin + + + target/jacoco.exec + + + + + org.jacoco + jacoco-maven-plugin + 0.8.11 + + + tuwien/auto/calimero/**/* + io/calimero/**/* + + + + + default-instrument + + instrument + + + + default-restore-instrumented-classes + test + + restore-instrumented-classes + + + + default-report + test + + report + + + + default-check + + check + + + + + BUNDLE + + + INSTRUCTION + COVEREDRATIO + 0.20 + + + BRANCH + COVEREDRATIO + 0.20 + + + + + + + + +