[test] Introduce JUnit 5 and AssertJ dependencies

pull/2660/head
Qingsheng Ren 1 year ago committed by Leonard Xu
parent 99d1ad5e52
commit 38cb96e67c

@ -84,10 +84,31 @@ under the License.
<oblogclient.version>1.1.0</oblogclient.version>
<commons-lang3.version>3.12.0</commons-lang3.version>
<json-path.version>2.7.0</json-path.version>
<junit5.version>5.10.1</junit5.version>
<junit4.version>4.13.2</junit4.version>
<assertj.version>3.24.2</assertj.version>
<markBundledAsOptional>true</markBundledAsOptional>
<flatten-maven-plugin.version>1.5.0</flatten-maven-plugin.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${junit5.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit4.version}</version>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- Apache Flink dependencies -->
<!-- These dependencies are provided, because they should not be packaged into the JAR file. -->
@ -176,6 +197,25 @@ under the License.
<type>jar</type>
<version>${version.awaitility}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
<version>${assertj.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>

Loading…
Cancel
Save