- All Superinterfaces:
- All Known Implementing Classes:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @API(status=STABLE, since="5.0") public interface BeforeEachCallback extends Extension
BeforeEachCallbackdefines the API for
Extensionsthat wish to provide additional behavior to tests before each test is invoked.
In this context, the term test refers to the actual test method plus any user defined setup methods (e.g.,
Concrete implementations often implement
Implementations must provide a no-args constructor.