Class TestLifecycleEvent

    • Constructor Detail

      • TestLifecycleEvent

        public TestLifecycleEvent​(Object testInstance,
                                  Method testMethod)
        Create a new TestLifecycleEvent for a specific testInstance executing a specific testMethod.

        This will use a NO_OP LifecycleMethodExecutor.
        Parameters:
        testInstance - The Test instance
        testMethod - The Test Method being executed
      • TestLifecycleEvent

        public TestLifecycleEvent​(Object testInstance,
                                  Method testMethod,
                                  LifecycleMethodExecutor executor)
        Create a new TestLifecycleEvent for a specific testInstance executing a specific testMethod.
        Parameters:
        testInstance - The Test instance
        testMethod - The Test Method being executed
        executor - A call back when the LifecycleMethod represented by this event should be invoked