[
https://issues.apache.org/jira/browse/FLINK-7554?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16384644#comment-16384644
]
Wind commented on FLINK-7554:
-----------------------------
I can try this but I need more details about the "RuntimeContext".
I will be grateful if anyone give me some tips or make an example to explain 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
> Priority: Major
> 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
(v7.6.3#76005)