* BAEL-15951 Moved vavr, JHipster to default profiles * BAEL-14304 Include the SpringContextIntegrationTest in the default build - Added SpringContextTest.java in all the modules where SpringContextIntegrationTest already exists * BAEL-14304 Changes in pmd rule and pom.xml to run UnitTest and SpringContextTest additionally in default profiles * BAEL-14304 Minor changes
17 lines
439 B
Java
17 lines
439 B
Java
package org.baeldung;
|
|
|
|
import org.baeldung.web.main.Application;
|
|
import org.junit.Test;
|
|
import org.junit.runner.RunWith;
|
|
import org.springframework.boot.test.context.SpringBootTest;
|
|
import org.springframework.test.context.junit4.SpringRunner;
|
|
|
|
@RunWith(SpringRunner.class)
|
|
@SpringBootTest(classes = Application.class)
|
|
public class SpringContextTest {
|
|
|
|
@Test
|
|
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
|
|
}
|
|
}
|