From f33ea6d31e3414c4eab1d4202f3625a64164e1ef Mon Sep 17 00:00:00 2001 From: sg481n Date: Sun, 1 Oct 2017 17:28:44 +0000 Subject: Improve code coverage for aaf authz modules Issue-ID: AAF-79 Change-Id: Ic73807fb4dace28b5c87f81f02e10b438e0c7692 Signed-off-by: sg481n --- authz-service/pom.xml | 138 +++++++++++++++++++++++++++++++------------------- 1 file changed, 87 insertions(+), 51 deletions(-) (limited to 'authz-service') diff --git a/authz-service/pom.xml b/authz-service/pom.xml index 507f2b4f..60a7a11b 100644 --- a/authz-service/pom.xml +++ b/authz-service/pom.xml @@ -63,7 +63,7 @@ ${project.build.directory}/surefire-reports ${project.build.directory}/coverage-reports/jacoco.exec ${project.build.directory}/coverage-reports/jacoco-it.exec - true + false ${project.version} https://nexus.onap.org localhost:5000 @@ -491,56 +491,92 @@ - org.jacoco - jacoco-maven-plugin - 0.7.7.201606060606 - - true - - org.onap.aaf.* - - - - - pre-unit-test - - prepare-agent - - - ${project.build.directory}/coverage-reports/jacoco.exec - - - - - pre-integration-test - pre-integration-test - - prepare-agent - - - ${project.build.directory}/coverage-reports/jacoco-it.exec - - - - - - merge - - post-integration-test - - - - ${project.build.directory}/coverage-reports - - *.exec - - - - ${project.build.directory}/jacoco-dev.exec - - - - + org.jacoco + jacoco-maven-plugin + ${jacoco.version} + + + + **/gen/** + **/generated-sources/** + **/yang-gen/** + **/pax/** + + + + + + pre-unit-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + surefireArgLine + + + + + post-unit-test + test + + report + + + + ${project.build.directory}/code-coverage/jacoco-ut.exec + + ${project.reporting.outputDirectory}/jacoco-ut + + + + pre-integration-test + pre-integration-test + + prepare-agent + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + failsafeArgLine + + + + + post-integration-test + post-integration-test + + report + + + + ${project.build.directory}/code-coverage/jacoco-it.exec + + ${project.reporting.outputDirectory}/jacoco-it + + + + + -- cgit 1.2.3-korg