Interface TestLifecycle<T>

All Known Implementing Classes:
DefaultTestLifecycle

public interface TestLifecycle<T>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterTest(Method method)
    Called after each test method is run.
    void
    Called before each test method is run.
    void
    Called after each test method is run.
  • Method Details

    • beforeTest

      void beforeTest(Method method)
      Called before each test method is run.
      Parameters:
      method - the test method about to be run
    • prepareTest

      void prepareTest(Object test)
      Called after each test method is run.
      Parameters:
      test - the instance of the test class that is about to be used
    • afterTest

      void afterTest(Method method)
      Called after each test method is run.
      Parameters:
      method - the test method that was just run