Skip to content

Commit 33ee1bd

Browse files
committed
Enable execution of Junit4 and Junit5 together
1 parent 1b26561 commit 33ee1bd

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

pom.xml

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
<wiremock.version>2.35.0</wiremock.version>
2222
<testcontainers.version>1.18.0</testcontainers.version>
2323
<junit.version>5.9.2</junit.version>
24+
<assertj.version>3.24.2</assertj.version>
2425
<project.scm.id>github</project.scm.id>
2526
</properties>
2627

@@ -33,19 +34,46 @@
3334
<type>pom</type>
3435
<scope>import</scope>
3536
</dependency>
37+
<dependency>
38+
<groupId>org.junit</groupId>
39+
<artifactId>junit-bom</artifactId>
40+
<version>${junit.version}</version>
41+
<type>pom</type>
42+
<scope>import</scope>
43+
</dependency>
44+
<dependency>
45+
<groupId>org.assertj</groupId>
46+
<artifactId>assertj-bom</artifactId>
47+
<version>${assertj.version}</version>
48+
<type>pom</type>
49+
<scope>import</scope>
50+
</dependency>
3651
</dependencies>
3752
</dependencyManagement>
3853

3954
<dependencies>
4055
<dependency>
4156
<groupId>org.testcontainers</groupId>
4257
<artifactId>testcontainers</artifactId>
43-
<version>${testcontainers.version}</version>
58+
</dependency>
59+
<dependency>
60+
<groupId>org.testcontainers</groupId>
61+
<artifactId>junit-jupiter</artifactId>
62+
<scope>test</scope>
63+
</dependency>
64+
<dependency>
65+
<groupId>org.junit.jupiter</groupId>
66+
<artifactId>junit-jupiter-engine</artifactId>
67+
<scope>test</scope>
68+
</dependency>
69+
<dependency>
70+
<groupId>org.junit.vintage</groupId>
71+
<artifactId>junit-vintage-engine</artifactId>
72+
<scope>test</scope>
4473
</dependency>
4574
<dependency>
4675
<groupId>org.assertj</groupId>
4776
<artifactId>assertj-core</artifactId>
48-
<version>3.24.2</version>
4977
<scope>test</scope>
5078
</dependency>
5179
<dependency>

0 commit comments

Comments
 (0)