Class TestRecorderRule

java.lang.Object
org.junit.rules.TestWatcher
org.jenkinsci.test.acceptance.recorder.TestRecorderRule
All Implemented Interfaces:
org.junit.rules.TestRule

@GlobalRule public class TestRecorderRule extends org.junit.rules.TestWatcher
JUnit Rule that before executing a test it starts a recording current screen and after the test is executed, it stops recording.
  • Constructor Details

  • Method Details

    • starting

      protected void starting(org.junit.runner.Description description)
      Overrides:
      starting in class org.junit.rules.TestWatcher
    • succeeded

      protected void succeeded(org.junit.runner.Description description)
      Overrides:
      succeeded in class org.junit.rules.TestWatcher
    • finished

      protected void finished(org.junit.runner.Description description)
      Overrides:
      finished in class org.junit.rules.TestWatcher