From 02ca99d7964b305f99d2e41d048a628b320b430b Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Mon, 14 Oct 2019 12:02:40 +0200 Subject: [PATCH] #906 - Add dependencies for JUnit 5 including vintage engine. We now support tests using Junit 4 and 5 using the JUnit Jupiter engine and the Vintage engine. --- parent/pom.xml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/parent/pom.xml b/parent/pom.xml index 23107370..4c12b282 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -13,7 +13,7 @@ Preconfigures the following: - Logging dependencies: SLF4j + Commons Logging bridge and Logback as test dependency - - Test dependencies: JUnit / Hamcrest / Mockito + - Test dependencies: JUnit 4+5 / Hamcrest / Mockito - Dependency versions for commonly used dependencies --> @@ -108,7 +108,9 @@ 0.8.2 2.10.4 2.4.0 + 4.12 + 5.5.2 1.3.50 1.3.2 1.2.3 @@ -927,6 +929,13 @@ pom import + + org.junit + junit-bom + ${junit5} + pom + import + @@ -948,9 +957,14 @@ - junit - junit - ${junit} + org.junit.jupiter + junit-jupiter + test + + + + org.junit.vintage + junit-vintage-engine test