beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Neville Li (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (BEAM-298) Make TestPipeline implement the TestRule interface
Date Sat, 11 Feb 2017 04:13:41 GMT

    [ https://issues.apache.org/jira/browse/BEAM-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15862201#comment-15862201
] 

Neville Li edited comment on BEAM-298 at 2/11/17 4:12 AM:
----------------------------------------------------------

That didn't work for me. I had to add it as a {{compile}} scope.


was (Author: sinisa_lyh):
That didn't work for me. I had to add it as a {compile} scope.

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

Mime
View raw message