spring-framework / org.springframework.test.context.web / WebTestContextBootstrapper

WebTestContextBootstrapper

open class WebTestContextBootstrapper : DefaultTestContextBootstrapper

Web-specific implementation of the TestContextBootstrapper SPI.

Author
Sam Brannen

Since
4.1

Constructors

<init>

WebTestContextBootstrapper()

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.