package testkit
Ordering
- Alphabetic
Visibility
- Public
- All
Type Members
- case class FlinkInletTap[T](portName: String, inStream: DataStream[T])(implicit evidence$5: TypeInformation[T]) extends Product with Serializable
- case class FlinkOutletTap[T](portName: String)(implicit evidence$6: TypeInformation[T]) extends Product with Serializable
-
abstract
class
FlinkTestkit extends AnyRef
Testkit for testing Flink streamlets.
Testkit for testing Flink streamlets.
The steps to write a test using the testkit are:
1. Create the Flink streamlet 2. Setup inlet tap on inlet port with the input data 3. Setup outlet tap on outlet port 4. Run the test 5. Get data from outlet and assert
{{ "FlinkProcessor" should { "process streaming data" in {
- case class TestContextException(portName: String, msg: String) extends RuntimeException with Product with Serializable
-
class
TestFlinkStreamletContext extends FlinkStreamletContext
An implementation of
FlinkStreamletContext
for unit testing.
Value Members
- object FlinkSource
- object TestFlinkStreamletContext extends Serializable