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

Add a testing RuntimeContext to test utilities

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            twalthr Timo Walther
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m