BAEL-90 - Renaming live tests, configuring surefire

This commit is contained in:
Slavisa Baeldung 2016-08-05 11:55:51 +02:00
parent 6aef1b0104
commit fb5949f16e
3 changed files with 23 additions and 3 deletions

View File

@ -10,8 +10,7 @@ import org.springframework.test.context.web.WebAppConfiguration;
@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = ConfigClient.class)
@WebAppConfiguration
@Ignore
public class ConfigClientTests {
public class ConfigClientLiveTest {
@Test
public void contextLoads() {
}

View File

@ -18,4 +18,25 @@
<artifactId>spring-boot-starter-parent</artifactId>
<version>1.3.5.RELEASE</version>
</parent>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<configuration>
<excludes>
<exclude>**/*LiveTest.java</exclude>
</excludes>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<org.springframework.boot.version>1.3.5.RELEASE</org.springframework.boot.version>
<maven-surefire-plugin.version>2.19.1</maven-surefire-plugin.version>
</properties>
</project>

View File

@ -11,7 +11,7 @@ import org.springframework.test.context.web.WebAppConfiguration;
@SpringApplicationConfiguration(classes = ConfigServer.class)
@WebAppConfiguration
@Ignore
public class ConfigServerTests {
public class ConfigServerListTest {
@Test
public void contextLoads() {
}