Skip to content

Commit 61799ea

Browse files
authored
Merge pull request #85 from pduvvur/increase-code-cov
Increase code coverage for ServiceBase class in payments-api module for Issue #60
2 parents af51b32 + 71450d5 commit 61799ea

File tree

2 files changed

+432
-4
lines changed

2 files changed

+432
-4
lines changed

payments-api/pom.xml

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<!--
22
Copyright (c) 2017 Intuit
3-
3+
44
Licensed under the Apache License, Version 2.0 (the "License");
55
you may not use this file except in compliance with the License.
66
You may obtain a copy of the License at
7-
7+
88
http://www.apache.org/licenses/LICENSE-2.0
9-
9+
1010
Unless required by applicable law or agreed to in writing, software
1111
distributed under the License is distributed on an "AS IS" BASIS,
1212
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -35,6 +35,12 @@
3535
<artifactId>jackson-module-jaxb-annotations</artifactId>
3636
<version>2.9.6</version>
3737
</dependency>
38+
<dependency>
39+
<groupId>org.jmockit</groupId>
40+
<artifactId>jmockit</artifactId>
41+
<version>1.39</version>
42+
<scope>test</scope>
43+
</dependency>
3844
</dependencies>
3945
<build>
4046
<testResources>
@@ -54,7 +60,7 @@
5460
<artifactId>coveralls-maven-plugin</artifactId>
5561
<version>4.3.0</version>
5662
</plugin>
57-
<!-- This plug-in instructs to use the mentioned JDK for compilation Reference:-
63+
<!-- This plug-in instructs to use the mentioned JDK for compilation Reference:-
5864
http://maven.apache.org/plugins/maven-compiler-plugin/examples/compile-using-different-jdk.html -->
5965
<plugin>
6066
<groupId>org.apache.maven.plugins</groupId>
@@ -136,6 +142,16 @@
136142
</execution>
137143
</executions>
138144
</plugin>
145+
<plugin>
146+
<groupId>org.apache.maven.plugins</groupId>
147+
<artifactId>maven-surefire-plugin</artifactId>
148+
<version>3.0.0-M3</version>
149+
<configuration>
150+
<argLine>
151+
-Djdk.attach.allowAttachSelf <!-- required to run test with jmockit on JDK 9 -->
152+
</argLine>
153+
</configuration>
154+
</plugin>
139155
</plugins>
140156
</build>
141157

0 commit comments

Comments
 (0)