Package org.springframework.boot.test.context.runner
Test utilities to run application contexts for testing.
Interface Summary Interface Description ContextConsumer<C extends org.springframework.context.ApplicationContext> Callback interface used to process anApplicationContext
with the ability to throw a (checked) exception.Class Summary Class Description AbstractApplicationContextRunner<SELF extends AbstractApplicationContextRunner<SELF,C,A>,C extends org.springframework.context.ConfigurableApplicationContext,A extends ApplicationContextAssertProvider<C>> Utility design to run and anApplicationContext
and provide AssertJ style assertions.ApplicationContextRunner AnApplicationContext runner
for a standard, non-web environmentConfigurableApplicationContext
.ReactiveWebApplicationContextRunner AnApplicationContext runner
for aConfigurableReactiveWebApplicationContext
.WebApplicationContextRunner AnApplicationContext runner
for a Servlet basedConfigurableWebApplicationContext
.