Package org.springframework.boot.test.context.runner
package org.springframework.boot.test.context.runner
Test utilities to run application contexts for testing.
-
ClassDescriptionAbstractApplicationContextRunner<SELF extends AbstractApplicationContextRunner<SELF,
C, A>, C extends ConfigurableApplicationContext, A extends ApplicationContextAssertProvider<C>> Utility design to run anApplicationContext
and provide AssertJ style assertions.A Bean registration to be applied when the context loaded.AnApplicationContext runner
for a standard, non-web environmentConfigurableApplicationContext
.ContextConsumer<C extends ApplicationContext>Callback interface used to process anApplicationContext
with the ability to throw a (checked) exception.AnApplicationContext runner
for a Servlet basedConfigurableWebApplicationContext
.