@BeforeAll
is used to signal that the annotated method should be
executed before all tests in the current test class.BeforeAllCallback
defines the API for Extensions
that wish to provide additional behavior to test containers before all tests
are invoked.@BeforeEach
is used to signal that the annotated method should be
executed before each @Test
method in
the current test class.BeforeEachCallback
defines the API for Extensions
that wish to provide additional behavior to tests before each test is invoked.@BeforeEach
method
as a pseudo-extension.BeforeTestExecutionCallback
defines the API for Extensions
that wish to provide additional behavior to tests immediately
before each test is executed.LauncherDiscoveryRequest
that has been configured via
this builder.