Permalink
Browse files

Run existing tests with Junit 5 vintage

  • Loading branch information...
schnatterer committed Apr 1, 2018
1 parent 97b4862 commit 718aa2fe458101547347bedeb02ac472fdba1b55
Showing with 10 additions and 12 deletions.
  1. +2 −2 cli/src/test/java/info/schnatterer/colander/cli/ColanderCliITCase.java
  2. +5 −8 pom.xml
  3. +3 −2 test-lib/pom.xml
@@ -40,10 +40,10 @@
public class ColanderCliITCase {
@Rule
public TemporaryFolder folder = new TemporaryFolder();
public final ExpectedSystemExit exit = ExpectedSystemExit.none();
@Rule
public final ExpectedSystemExit exit = ExpectedSystemExit.none();
public TemporaryFolder folder = new TemporaryFolder();
@Test
public void endToEnd() throws Exception {
View
13 pom.xml
@@ -75,30 +75,27 @@
<version>${logback.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.1.0</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.6.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-junit</artifactId>
<version>2.0.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
View
@@ -60,10 +60,11 @@
<!-- Add test dependency to compile class path, because this library itself is only used with test scope -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-junit</artifactId>

0 comments on commit 718aa2f

Please sign in to comment.