From 173a07c146746f85c17f2d58f2ded84b99818f9a Mon Sep 17 00:00:00 2001 From: Sunil Unnava Date: Tue, 6 Mar 2018 11:41:18 -0500 Subject: testcases for code coverage Issue-ID: DMAAP-271 Change-Id: I9b11a61d1098598f8dc6c687a10ebf765128d977 Signed-off-by: Sunil Unnava --- pom.xml | 64 +++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 41 insertions(+), 23 deletions(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 28858d5..142d125 100644 --- a/pom.xml +++ b/pom.xml @@ -84,7 +84,7 @@ com.fasterxml.jackson.core jackson-databind - 2.8.10 + 2.8.11 org.apache.httpcomponents @@ -170,8 +170,26 @@ org.mockito - mockito-all - 1.9.5 + mockito-core + 1.10.19 + test + + + org.powermock + powermock-module-junit4 + 1.6.4 + test + + + org.powermock + powermock-api-mockito + 1.6.4 + test + + + org.springframework + spring-test + 3.0.5.RELEASE test @@ -265,13 +283,13 @@ 1.7 - + + Note: This exclusion list should match property + above **/gen/** **/generated-sources/** @@ -280,23 +298,23 @@ - + Prepares the property pointing to the JaCoCo runtime agent which + is passed as VM argument when Maven the Surefire plugin is executed. pre-unit-test prepare-agent - + Sets the path to the file which contains the execution data. ${project.build.directory}/code-coverage/jacoco-ut.exec - + Sets the name of the property containing the settings for JaCoCo + runtime agent. surefireArgLine - + Ensures that the code coverage report for unit tests is created + after unit tests have been run. post-unit-test test @@ -304,9 +322,9 @@ report - + Sets the path to the file which contains the execution data. ${project.build.directory}/code-coverage/jacoco-ut.exec - + Sets the output directory for the code coverage report. ${project.reporting.outputDirectory}/jacoco-ut @@ -317,15 +335,15 @@ prepare-agent - + Sets the path to the file which contains the execution data. ${project.build.directory}/code-coverage/jacoco-it.exec - + Sets the name of the property containing the settings for JaCoCo + runtime agent. failsafeArgLine - + Ensures that the code coverage report for integration tests after + integration tests have been run. post-integration-test post-integration-test @@ -333,14 +351,14 @@ report - + Sets the path to the file which contains the execution data. ${project.build.directory}/code-coverage/jacoco-it.exec - + Sets the output directory for the code coverage report. ${project.reporting.outputDirectory}/jacoco-it - + --> -- cgit 1.2.3-korg