Registry / testing / flink-test-utils-junit

flink-test-utils-junit

JSON →
library2.2.0javamavenunverified

Provides JUnit test utilities for Apache Flink, enabling integration testing of Flink jobs.

<dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-test-utils-junit</artifactId> <version>2.2.0</version> </dependency>
INSTALL
IMPORT
SIG · FLINK-TEST-UTILS-J
F
flink-test-utils-junit
testingjavav2.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

MiniClusterResource
✓ org.apache.flink.test.util.MiniClusterResource

Shows how to set up a MiniClusterResource for Flink integration tests.

import org.apache.flink.test.util.MiniClusterResource; import org.junit.ClassRule; public class FlinkTest { @ClassRule public static MiniClusterResource miniCluster = new MiniClusterResource(); @Test public void testJob() throws Exception { // Your Flink job test here } }
Debug
Known issues
breakingFlink versions must match between test utilities and the Flink runtime.
fix
Use the same Flink version for flink-test-utils-junit and your Flink dependencies.
affects: >=1.0.0
Upgrade
Version history
2.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
flink-test-utils-junit — mvn dependency:get flink-test-utils-junit · libregistry