Jean-Francois Leveque

Passage à JUnit 5M2

Showing 1 changed file with 44 additions and 1 deletions
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
28 <rewrite.version>3.4.1.Final</rewrite.version> 28 <rewrite.version>3.4.1.Final</rewrite.version>
29 <hibernate-commons-annotations.version>5.0.1.Final</hibernate-commons-annotations.version> 29 <hibernate-commons-annotations.version>5.0.1.Final</hibernate-commons-annotations.version>
30 <hibernate-jpa-2.1-api.version>1.0.0.Final</hibernate-jpa-2.1-api.version> 30 <hibernate-jpa-2.1-api.version>1.0.0.Final</hibernate-jpa-2.1-api.version>
31 + <junit.version>1.0.0-M2</junit.version>
31 32
32 <!-- paths --> 33 <!-- paths -->
33 <custom.web.dir>src/main/java/org/legrog/web</custom.web.dir> 34 <custom.web.dir>src/main/java/org/legrog/web</custom.web.dir>
...@@ -221,13 +222,55 @@ ...@@ -221,13 +222,55 @@
221 222
222 223
223 <!-- **** TEST SCOPE **** --> 224 <!-- **** TEST SCOPE **** -->
225 + <dependency>
226 + <groupId>org.junit.platform</groupId>
227 + <artifactId>junit-platform-runner</artifactId>
228 + <version>${junit.version}</version>
229 + <scope>test</scope>
230 + </dependency>
231 +
232 + <dependency>
233 + <groupId>org.junit.platform</groupId>
234 + <artifactId>junit-platform-launcher</artifactId>
235 + <version>${junit.version}</version>
236 + <scope>test</scope>
237 + </dependency>
238 +
239 + <dependency>
240 + <groupId>org.junit.platform</groupId>
241 + <artifactId> junit-platform-console</artifactId>
242 + <version>${junit.version}</version>
243 + <scope>test</scope>
244 + </dependency>
245 +
246 + <dependency>
247 + <groupId>org.junit.platform</groupId>
248 + <artifactId>junit-platform-commons</artifactId>
249 + <version>${junit.version}</version>
250 + <scope>test</scope>
251 + </dependency>
252 +
253 + <dependency>
254 + <groupId>org.junit.platform</groupId>
255 + <artifactId>junit-platform-engine</artifactId>
256 + <version>${junit.version}</version>
257 + <scope>test</scope>
258 + </dependency>
259 +
260 + <dependency>
261 + <groupId>org.junit.platform</groupId>
262 + <artifactId>junit-platform-surefire-provider</artifactId>
263 + <version>${junit.version}</version>
264 + <scope>test</scope>
265 + </dependency>
224 266
267 + <!-- JUnit 4
225 <dependency> 268 <dependency>
226 <groupId>junit</groupId> 269 <groupId>junit</groupId>
227 <artifactId>junit</artifactId> 270 <artifactId>junit</artifactId>
228 <scope>test</scope> 271 <scope>test</scope>
229 </dependency> 272 </dependency>
230 - 273 +-->
231 <dependency> 274 <dependency>
232 <groupId>org.mockito</groupId> 275 <groupId>org.mockito</groupId>
233 <artifactId>mockito-core</artifactId> 276 <artifactId>mockito-core</artifactId>
......