[test] Add JUnit5 dependencies

This commit is contained in:
Andreas Dangel
2022-04-29 16:48:09 +02:00
parent 4c45d6125e
commit 5c3afd881f
4 changed files with 30 additions and 1 deletions

View File

@ -81,6 +81,11 @@
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>com.github.stefanbirkner</groupId> <groupId>com.github.stefanbirkner</groupId>
<artifactId>system-rules</artifactId> <artifactId>system-rules</artifactId>

View File

@ -183,6 +183,11 @@
<artifactId>junit</artifactId> <artifactId>junit</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency> <dependency>
<groupId>com.github.stefanbirkner</groupId> <groupId>com.github.stefanbirkner</groupId>

View File

@ -23,6 +23,11 @@
<artifactId>hamcrest</artifactId> <artifactId>hamcrest</artifactId>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>

16
pom.xml
View File

@ -90,6 +90,7 @@
<dokka.version>1.4.32</dokka.version> <dokka.version>1.4.32</dokka.version>
<junit.version>5.8.2</junit.version>
<javacc.version>5.0</javacc.version> <javacc.version>5.0</javacc.version>
<surefire.version>3.0.0-M5</surefire.version> <surefire.version>3.0.0-M5</surefire.version>
<checkstyle.version>9.3</checkstyle.version> <checkstyle.version>9.3</checkstyle.version>
@ -286,7 +287,13 @@
<dependency> <dependency>
<groupId>org.junit.vintage</groupId> <groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId> <artifactId>junit-vintage-engine</artifactId>
<version>5.7.0</version> <version>${junit.version}</version>
</dependency>
<!-- JUnit5 Platform Engine for Junit 5 -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
</dependency> </dependency>
<!-- Junit5 Platform Engine for Kotlin Tests --> <!-- Junit5 Platform Engine for Kotlin Tests -->
<dependency> <dependency>
@ -792,6 +799,13 @@
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.8.2</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency> <dependency>
<groupId>junit</groupId> <groupId>junit</groupId>
<artifactId>junit</artifactId> <artifactId>junit</artifactId>