Tom Hombergs 87b23b4d44 Spock (#5952)
* BAEL-2364: Adds Spring Boot IntegrationTests with Spock Framework

* Adds o.b.boot.controller.rest.WebController as example controller
* Adds one Load Application Context Test
* Adds one WebMvcTest

* updated pom.xml's and README

* fixed module name
2018-12-20 22:54:20 +02:00

15 lines
443 B
Java

package org.baeldung.boot;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
@SpringBootApplication
public class Application {
private static ApplicationContext applicationContext;
public static void main(String[] args) {
applicationContext = SpringApplication.run(Application.class, args);
}
}