@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.ClassFilter
by combining the name predicate built by
ClasspathScanningSupport.buildClassNamePredicate(EngineDiscoveryRequest)
and the passed-in
class predicate.Predicate
for fully qualified class names to be used for
classpath scanning from an EngineDiscoveryRequest
.