[
https://issues.apache.org/jira/browse/BEAM-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16277117#comment-16277117
]
Kenneth Knowles commented on BEAM-2132:
---------------------------------------
There have been a few other problems with DoFnTester, and you can just use the
DirectRunner to get better testing, see BEAM-3159.
> Properly document testing side inputs
> -------------------------------------
>
> Key: BEAM-2132
> URL: https://issues.apache.org/jira/browse/BEAM-2132
> Project: Beam
> Issue Type: Improvement
> Components: website
> Affects Versions: 0.6.0
> Reporter: Mitchell Lillie
> Assignee: Jason Kuster
> Labels: documentation, newbie
>
> Expectation: The Beam guide section on ["Testing your
> Pipeline"|https://beam.apache.org/documentation/pipelines/test-your-pipeline/#side-inputs]
> should provide an example of testing with side inputs.
> Actual: The section mentions using {{DoFnTester.setSideInputs}}, but the
> example calls {{DoFnTester.setSideInputInGlobalWindow}}, a method that is not
> documented for {{DoFnTester}}.
> Resolution: Provide a working model example for both
> {{DoFnTester.setSideInput}} and {{DoFnTester.setSideInputs}}.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)