beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stas Levin (JIRA)" <>
Subject [jira] [Commented] (BEAM-298) Make TestPipeline implement the TestRule interface
Date Sat, 11 Feb 2017 08:58:41 GMT


Stas Levin commented on BEAM-298:

Could you please provide some more info regarding your scenario and how I can reproduce it?
Are you running {{TestPipeline}} as part of a unit test or production code? 

> Make TestPipeline implement the TestRule interface
> --------------------------------------------------
>                 Key: BEAM-298
>                 URL:
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Thomas Groh
>            Assignee: Stas Levin
>            Priority: Minor
>             Fix For: 0.5.0
> 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.

This message was sent by Atlassian JIRA

View raw message