You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Vitaly Terentyev (Jira)" <ji...@apache.org> on 2021/03/23 11:44:00 UTC

[jira] [Assigned] (BEAM-449) Support PCollectionList in PAssert

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

Vitaly Terentyev reassigned BEAM-449:
-------------------------------------

    Assignee: Vitaly Terentyev

> Support PCollectionList in PAssert
> ----------------------------------
>
>                 Key: BEAM-449
>                 URL: https://issues.apache.org/jira/browse/BEAM-449
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Thomas Groh
>            Assignee: Vitaly Terentyev
>            Priority: P3
>              Labels: Clarified
>
> The assertion takes an input PCollectionList and takes a list of matchers of the same size, and applies each matcher to the identical index of the PCollectionList
> e.g. PAssert.that(PCollectionList[0]).satisfies(matchers[0])
> Potentially also worthwhile is a "PAssert.thatFlattened(PCollectionList)" static constructor, that runs an assertion on the flattened contents of the list.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)