Class LogMethodName

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

    public class LogMethodName
    extends org.junit.rules.TestWatcher
    JUnit TestWatcher to LOGGER the executed test method name.
    Author:
    nilshoffmann
    • Method Detail

      • starting

        public void starting​(org.junit.runner.Description method)
        Called when JUnit is about to execute the provided method.
        Overrides:
        starting in class org.junit.rules.TestWatcher
        Parameters:
        method - the method being executed by JUnit.