Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-7554

Add a testing RuntimeContext to test utilities

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:

      Description

      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.

        Activity

        Hide
        aljoscha Aljoscha Krettek added a comment -

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

        Show
        aljoscha Aljoscha Krettek added a comment - I think this would go in the same direction as the current stream operator test harnesses. I like it!

          People

          • Assignee:
            Unassigned
            Reporter:
            twalthr Timo Walther
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Development