Class TestDescriptionRule

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class TestDescriptionRule
    extends org.junit.rules.TestWatcher
    Junit rule which exposes the description of the current executing test as a thread local instance
    • Constructor Detail

      • TestDescriptionRule

        public TestDescriptionRule()
    • Method Detail

      • finished

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

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