You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2016/12/17 22:28:58 UTC

[jira] [Resolved] (BEAM-298) Make TestPipeline implement the TestRule interface

     [ https://issues.apache.org/jira/browse/BEAM-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles resolved BEAM-298.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 0.5.0-incubating

Filed BEAM-1176 to follow up and use the rule.

> Make TestPipeline implement the TestRule interface
> --------------------------------------------------
>
>                 Key: BEAM-298
>                 URL: https://issues.apache.org/jira/browse/BEAM-298
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Thomas Groh
>            Assignee: Stas Levin
>            Priority: Minor
>             Fix For: 0.5.0-incubating
>
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)