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

Add a testing RuntimeContext to test utilities

Agile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsAdd voteVotersStop watchingWatchersCreate sub-taskConvert to sub-taskLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            twalthr Timo Walther

            Dates

              Created:
              Updated:

              Time Tracking

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

              Slack

                Issue deployment