Class 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 Detail

    • Method Detail

      • 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