Skip to content

Commit 04528f1

Browse files
committed
Runnable tests
1 parent d6a29f0 commit 04528f1

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

pom.xml

+30-2
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,15 @@
1313
<maven.compiler.target>11</maven.compiler.target>
1414
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
1515
<caffeine.version>3.1.8</caffeine.version>
16-
<junit.version>5.10.3</junit.version>
1716
<mysql-connector.version>8.4.0</mysql-connector.version>
1817
<okhttp.version>4.12.0</okhttp.version>
1918
<protobuf.version>4.27.2</protobuf.version>
2019
<grpc.version>1.65.0</grpc.version>
2120
<logback-classic.version>1.4.12</logback-classic.version>
2221
<testcontainers.version>1.20.0</testcontainers.version>
22+
<junit.jupiter.version>5.10.3</junit.jupiter.version>
23+
<junit.platform.version>1.8.2</junit.platform.version>
24+
<surefire.plugin.version>3.0.0-M5</surefire.plugin.version>
2325
</properties>
2426

2527
<dependencies>
@@ -67,7 +69,20 @@
6769
<dependency>
6870
<groupId>org.junit.jupiter</groupId>
6971
<artifactId>junit-jupiter</artifactId>
70-
<version>${junit.version}</version>
72+
<version>${junit.jupiter.version}</version>
73+
<scope>test</scope>
74+
</dependency>
75+
76+
<dependency>
77+
<groupId>org.junit.jupiter</groupId>
78+
<artifactId>junit-jupiter-api</artifactId>
79+
<version>${junit.jupiter.version}</version>
80+
<scope>test</scope>
81+
</dependency>
82+
<dependency>
83+
<groupId>org.junit.jupiter</groupId>
84+
<artifactId>junit-jupiter-engine</artifactId>
85+
<version>${junit.jupiter.version}</version>
7186
<scope>test</scope>
7287
</dependency>
7388

@@ -172,6 +187,19 @@
172187
</execution>
173188
</executions>
174189
</plugin>
190+
191+
<plugin>
192+
<groupId>org.apache.maven.plugins</groupId>
193+
<artifactId>maven-surefire-plugin</artifactId>
194+
<version>${surefire.plugin.version}</version>
195+
<configuration>
196+
<includes>
197+
<include>**/*Tests.java</include>
198+
<include>**/*Test.java</include>
199+
</includes>
200+
</configuration>
201+
</plugin>
202+
175203
</plugins>
176204
</build>
177205
</project>

0 commit comments

Comments
 (0)