See: Description
| Interface | Description |
|---|---|
| NeedsRunner |
Category tag for validation tests which utilize
TestPipeline for execution and expect
to be executed by a PipelineRunner. |
| PAssert.IterableAssert<T> |
Builder interface for assertions applicable to iterables and PCollection contents.
|
| PAssert.SingletonAssert<T> |
Builder interface for assertions applicable to a single value.
|
| RunnableOnService |
Category tag for validation tests which utilize
TestPipeline for execution and
PAssert for validation. |
| SerializableMatcher<T> |
A
Matcher that is also Serializable. |
| TestPipelineOptions |
TestPipelineOptions is a set of options for test pipelines. |
| Class | Description |
|---|---|
| CoderProperties |
Properties for use in
Coder tests. |
| CrashingRunner |
A
PipelineRunner that applies no overrides and throws an exception on calls to
Pipeline.run(). |
| PAssert |
An assertion on the contents of a
PCollection incorporated into the pipeline. |
| PAssert.GroupThenAssert<T> |
A transform that applies an assertion-checking function over iterables of
ActualT to
the entirety of the contents of its input. |
| PAssert.GroupThenAssertForSingleton<T> |
A transform that applies an assertion-checking function to a single iterable contained as the
sole element of a
PCollection. |
| PAssert.OneSideInputAssert<ActualT> |
An assertion checker that takes a single
PCollectionView<ActualT> and an assertion over ActualT, and checks it within a
Beam pipeline. |
| SourceTestUtils |
Helper functions and test harnesses for checking correctness of
Source
implementations. |
| TestPipeline |
A creator of test pipelines that can be used inside of tests that can be
configured to run locally or against a remote pipeline runner.
|
| TestPipelineOptions.AlwaysPassMatcher |
Matcher which will always pass.
|
| TestPipelineOptions.AlwaysPassMatcherFactory |
Factory for
PipelineResult matchers which always pass. |
| WindowFnTestUtils |
A utility class for testing
WindowFns. |
| Enum | Description |
|---|---|
| SourceTestUtils.ExpectedSplitOutcome |
Expected outcome of
BoundedSource.BoundedReader.splitAtFraction(double). |
PTransforms and
examples included the Dataflow SDK provide examples of using these utilities.