Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-298

Make TestPipeline implement the TestRule interface

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • P3
    • Resolution: Fixed
    • None
    • 0.5.0
    • sdk-java-core

    Description

      https://github.com/junit-team/junit4/wiki/Rules

      A JUnit Rule allows a test to use a field annotated with @Rule to wrap executing tests. Doing so allows the TestPipeline to, at the time the test completes, assert that all applied transforms have been executed. This ensures that all unit tests that utilize a TestPipeline rule either are declared to explicitly not expect to execute or have executed the pipeline.

      Attachments

        Issue Links

          Activity

            People

              staslev Stas Levin
              tgroh Thomas Groh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: