Test the SpringBoot application startup
问题 I have a JUnit test that starts an spring-boot application (in my case, the main class is SpringTestDemoApp ) after the test: @WebIntegrationTest @RunWith(SpringJUnit4ClassRunner.class) @SpringApplicationConfiguration(classes = SpringTestDemoApp.class) public class SpringTest { @Test public void test() { // Test http://localhost:8080/ (with Selenium) } } Everything works fine using spring-boot 1.3.3.RELEASE . Nevertheless, the annotation @WebIntegrationTest and @SpringApplicationConfiguration