diff --git a/pom.xml b/pom.xml index 61a0d41..0ec677b 100644 --- a/pom.xml +++ b/pom.xml @@ -6,13 +6,13 @@ calculator 0.0.1-SNAPSHOT - 5.5.2 - 4.8.0 + 5.8.2 + 7.3.2 UTF-8 11 ${maven.compiler.source} - 4.3.1 - 2.2.0.RELEASE + 5.1.3 + 2.6.6 @@ -54,31 +54,42 @@ junit-jupiter test + org.junit.vintage junit-vintage-engine test + - io.cucumber - cucumber-jvm - ${dep.cucumber.version} - test - pom - - - io.cucumber - cucumber-spring - ${dep.cucumber.version} - test - - - io.cucumber - cucumber-junit - ${dep.cucumber.version} - test - + io.cucumber + cucumber-jvm + ${dep.cucumber.version} + test + pom + + + + io.cucumber + cucumber-java + ${dep.cucumber.version} + test + + + + io.cucumber + cucumber-spring + ${dep.cucumber.version} + test + + + + io.cucumber + cucumber-junit + ${dep.cucumber.version} + test + org.mockito mockito-junit-jupiter @@ -98,6 +109,12 @@ javax.inject 1 + + + javax.validation + validation-api + 2.0.1.Final + diff --git a/src/test/java/com/openclassrooms/testing/calcul/acceptance/CalculatorSteps.java b/src/test/java/com/openclassrooms/testing/calcul/acceptance/CalculatorSteps.java index 59337c1..1c8f850 100644 --- a/src/test/java/com/openclassrooms/testing/calcul/acceptance/CalculatorSteps.java +++ b/src/test/java/com/openclassrooms/testing/calcul/acceptance/CalculatorSteps.java @@ -14,7 +14,10 @@ import io.cucumber.java.en.Given; import io.cucumber.java.en.Then; import io.cucumber.java.en.When; +import io.cucumber.spring.CucumberContextConfiguration; + +@CucumberContextConfiguration @SpringBootTest @AutoConfigureMockMvc public class CalculatorSteps {