* 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
15 lines
443 B
Java
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);
|
|
}
|
|
}
|