diff options
author | Igor Dysko <igor1.dysko@orange.com> | 2021-02-21 21:36:24 +0100 |
---|---|---|
committer | Igor Dysko <igor1.dysko@orange.com> | 2021-02-21 21:36:24 +0100 |
commit | 57b5956b77185db895567d24558d37080d2d2d7c (patch) | |
tree | 911a7f78dc991551b6a030f7bc89f14a62f4d8df /pom.xml | |
parent | 8ba48f3ffd2078d2e41e37a31f8cb163dafc3589 (diff) |
Sonar coverage report for graphgraph
Exclusion of js tests from coverage. Added java test.
Issue-ID: AAI-2713
Signed-off-by: Igor Dysko <igor1.dysko@orange.com>
Change-Id: I085bae6536ba49c7ef8c24899c003b76b95923f6
Diffstat (limited to 'pom.xml')
-rw-r--r-- | pom.xml | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -32,10 +32,17 @@ <sonar.javascript.lcov.reportPaths>${project.basedir}/graphgraph-fe/coverage/lcov.info</sonar.javascript.lcov.reportPaths> <sonar.nodejs.executable>${project.basedir}/graphgraph-fe/node/node</sonar.nodejs.executable> <sonar.sources>${project.basedir}/src/main/java,${project.basedir}/graphgraph-fe/src</sonar.sources> + <sonar.exclusions>graphgraph-fe/src/*.test.js</sonar.exclusions> </properties> <dependencies> <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <version>2.23.4</version> + <scope>test</scope> + </dependency> + <dependency> <groupId>javax.jms</groupId> <artifactId>javax.jms-api</artifactId> <version>2.0.1</version> @@ -59,6 +66,21 @@ <artifactId>spring-boot-starter-jetty</artifactId> </dependency> <dependency> + <groupId>org.springframework.boot</groupId> + <artifactId>spring-boot-starter-test</artifactId> + <scope>test</scope> + <exclusions> + <exclusion> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + </exclusion> + <exclusion> + <groupId>org.skyscreamer</groupId> + <artifactId>jsonassert</artifactId> + </exclusion> + </exclusions> + </dependency> + <dependency> <groupId>org.eclipse.persistence</groupId> <artifactId>eclipselink</artifactId> <version>2.7.7</version> @@ -77,6 +99,10 @@ <groupId>org.eclipse.persistence</groupId> <artifactId>eclipselink</artifactId> </exclusion> + <exclusion> + <groupId>org.powermock</groupId> + <artifactId>powermock-api-mockito</artifactId> + </exclusion> </exclusions> </dependency> <dependency> |