I have a spring-boot application where my @SpringBootApplication starter class looks like a standard one. So I created many tests for all my functi
spring-boot
@SpringBootApplication
You can do something like this
@Test public void applicationContextLoaded() { } @Test public void applicationContextTest() { mainApp.main(new String[] {}); }