spring-framework / org.springframework.test.context.support / DefaultTestContextBootstrapper

DefaultTestContextBootstrapper

open class DefaultTestContextBootstrapper : AbstractTestContextBootstrapper

Default implementation of the TestContextBootstrapper SPI.

Uses DelegatingSmartContextLoader as the default ContextLoader.

Author
Sam Brannen

Since
4.1

Constructors

<init>

DefaultTestContextBootstrapper()

Default implementation of the TestContextBootstrapper SPI.

Uses DelegatingSmartContextLoader as the default ContextLoader.

Inheritors

WebTestContextBootstrapper

open class WebTestContextBootstrapper : DefaultTestContextBootstrapper

Web-specific implementation of the TestContextBootstrapper SPI.

  • Uses WebDelegatingSmartContextLoader as the default ContextLoader if the test class is annotated with WebAppConfiguration and otherwise delegates to the superclass.
  • Builds a WebMergedContextConfiguration if the test class is annotated with WebAppConfiguration.