Interface TestDecorator


  • public interface TestDecorator
    Interface for implementing test decorators that can execute code before and after each test.
    • Method Detail

      • beforeTest

        default void beforeTest​(TestContext testContext)
        Executed before each test.
        Parameters:
        testContext - the test context.
      • afterTest

        default void afterTest​(TestContext testContext)
        Executed after each test.
        Parameters:
        testContext - the test context.