Dhawal Kapil b6ae9ec3b4 Story/bael 14304 (#7311)
* 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
2019-07-20 14:33:56 +03:00

20 lines
619 B
Java

package org.baeldung;
import org.baeldung.spring.WebFlowConfig;
import org.baeldung.spring.WebMvcConfig;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
import org.springframework.test.context.web.WebAppConfiguration;
@RunWith(SpringJUnit4ClassRunner.class)
@ContextConfiguration(classes = {WebFlowConfig.class, WebMvcConfig.class})
@WebAppConfiguration
public class SpringContextTest {
@Test
public void whenSpringContextIsBootstrapped_thenNoExceptions() {
}
}