diff --git a/Java/pom.xml b/Java/pom.xml index 6add3690..6bad6bf2 100644 --- a/Java/pom.xml +++ b/Java/pom.xml @@ -11,13 +11,21 @@ 1.8 + 5.4.2 + 3.11.1 - junit - junit - 4.12 + org.assertj + assertj-core + ${assertj.version} + test + + + org.junit.jupiter + junit-jupiter + ${junit.jupiter.version} test @@ -26,12 +34,17 @@ maven-compiler-plugin + 3.8.1 ${java.version} ${java.version} + + maven-surefire-plugin + 3.0.0-M3 + - \ No newline at end of file + diff --git a/Java/src/test/java/com/gildedrose/GildedRoseTest.java b/Java/src/test/java/com/gildedrose/GildedRoseTest.java index 95bfddc4..28ce7cff 100644 --- a/Java/src/test/java/com/gildedrose/GildedRoseTest.java +++ b/Java/src/test/java/com/gildedrose/GildedRoseTest.java @@ -1,8 +1,9 @@ package com.gildedrose; -import static org.junit.Assert.*; +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; -import org.junit.Test; public class GildedRoseTest {