diff options
author | shentao <shentao@chinamobile.com> | 2017-09-28 17:05:30 +0800 |
---|---|---|
committer | shentao <shentao@chinamobile.com> | 2017-09-28 17:05:39 +0800 |
commit | 331c4f9137af5f9b028c1a61e19f16c6a185ccf5 (patch) | |
tree | 44c584d35e6dae9ca3ab27840eed4246057209b5 | |
parent | 6fbe31e8e5e49952bcd8292117012d8129959de1 (diff) |
Fix sonar display for usecase-ui
Change-Id: I06c0c47e010d517f7745052dec161d6dbc0069a2
Issue-Id: USECASEUI-47
Signed-off-by: shentao <shentao@chinamobile.com>
-rw-r--r-- | pom.xml | 31 |
1 files changed, 30 insertions, 1 deletions
@@ -199,6 +199,26 @@ <artifactId>guava</artifactId> <version>23.0</version> </dependency> + + <!-- UT coverage dependency start --> + <dependency> + <groupId>org.jmockit</groupId> + <artifactId>jmockit</artifactId> + <version>1.19</version> + <scope>test</scope> + </dependency> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <version>4.12</version> + </dependency> + <dependency> + <groupId>org.jmockit</groupId> + <artifactId>jmockit-coverage</artifactId> + <version>1.19</version> + <scope>test</scope> + </dependency> + <!-- UT coverage dependency end --> </dependencies> <build> @@ -236,7 +256,16 @@ <artifactId>maven-surefire-plugin</artifactId> <version>2.19</version> <configuration> - <skipTests>true</skipTests> + <testFailureIgnore>true</testFailureIgnore> + <includes> + <include>**/*Spec*</include> + <include>**/Test*.java</include> + <include>**/*Test.java</include> + <include>**/*TestCase.java</include> + <include>**/Test*.scala</include> + <include>**/*Test.scala</include> + <include>**/*TestCase.scala</include> + </includes> </configuration> </plugin> </plugins> |