From 7bc6ef245901a83da234c7765d76a7f7eb34540a Mon Sep 17 00:00:00 2001 From: sg481n Date: Sun, 1 Oct 2017 19:47:49 +0000 Subject: Improve code coverage for aaf cadi modules Issue-ID: AAF-79 Change-Id: I9e12b64024aaa5dad13965fdbfc474c330bae864 Signed-off-by: sg481n --- aaf/pom.xml | 137 +++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 90 insertions(+), 47 deletions(-) (limited to 'aaf/pom.xml') diff --git a/aaf/pom.xml b/aaf/pom.xml index dcbf36a..7593df6 100644 --- a/aaf/pom.xml +++ b/aaf/pom.xml @@ -56,6 +56,10 @@ org.onap.aaf.authz authz-client + + org.mockito + mockito-all + org.onap.aaf.cadi @@ -203,53 +207,92 @@ - org.jacoco - jacoco-maven-plugin - 0.7.7.201606060606 - - true - - - - 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