Consider WebAppConfiguration in @SpringBootTest

Update SpringBootTestContextBootstrapper to consider the
`@WebAppConfiguration` annotation and use sensible resourceBasePath
defaults.

Fixes gh-6371
This commit is contained in:
Phillip Webb
2016-07-11 16:38:10 -07:00
parent df8dfb093b
commit 43afc149a1
7 changed files with 134 additions and 1 deletions

View File

@@ -43,6 +43,11 @@
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>