spring-boot/spring-boot-test-autoconfigure
Andy Wilkinson 79b81a95c8 Use SpringBootContextLoader for tests annotated with @WebMvcTest
Previously, tests annotated with @WebMvcTest would use Spring
Framework’s WebDelegatingSmartContextLoader. This meant that
SpringApplication was not used to create the application context. One
effect of this was that Spring Boot’s logging system was not initialized
and large quantities of debug log output was produced due to Logback’s
default behaviour.

This commit updates WebMvcTestContextBootstrapper so that it uses
SpringBootContextLoader. This aligns the behaviour of @WebMvcTest
with the behaviour of @SpringBootTest and @DataJpaTest.

Closes gh-5847
2016-05-04 17:15:16 +01:00
..
src Use SpringBootContextLoader for tests annotated with @WebMvcTest 2016-05-04 17:15:16 +01:00
pom.xml Make json-path and selenium-api optional 2016-05-02 17:17:29 -07:00