flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aljoscha Krettek (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-7554) Add a testing RuntimeContext to test utilities
Date Wed, 30 Aug 2017 08:56:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-7554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146919#comment-16146919

Aljoscha Krettek commented on FLINK-7554:

I think this would go in the same direction as the current stream operator test harnesses.
I like it!

> Add a testing RuntimeContext to test utilities
> ----------------------------------------------
>                 Key: FLINK-7554
>                 URL: https://issues.apache.org/jira/browse/FLINK-7554
>             Project: Flink
>          Issue Type: New Feature
>          Components: Tests
>            Reporter: Timo Walther
>              Labels: starter
> When unit testing user-defined functions it would be useful to have an official testing
{{RuntimeContext}} that uses Java collections for storing state, metrics, etc.
> After executing the business logic, the user could then verify how the state of the UDF
changed or which metrics have been collected.
> This issue includes documentation for the "Testing" section.

This message was sent by Atlassian JIRA

View raw message