Package org.seedstack.seed.testing.spi
Interface TestDecorator
-
public interface TestDecoratorInterface for implementing test decorators that can execute code before and after each test.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidafterTest(TestContext testContext)Executed after each test.default voidbeforeTest(TestContext testContext)Executed before 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.
-
-