Details
-
Improvement
-
Status: Resolved
-
P3
-
Resolution: Fixed
-
None
Description
https://github.com/junit-team/junit4/wiki/Rules
A JUnit Rule allows a test to use a field annotated with @Rule to wrap executing tests. Doing so allows the TestPipeline to, at the time the test completes, assert that all applied transforms have been executed. This ensures that all unit tests that utilize a TestPipeline rule either are declared to explicitly not expect to execute or have executed the pipeline.
Attachments
Issue Links
- relates to
-
BEAM-672 Figure out TestPipeline.create(PipelineOptions) / TestPipeline.fromOptions(PipelineOptions) story
- Open