mercredi 28 septembre 2016

Spring boot web application integration tests suite

I have a bunch of integrations tests containing

@RunWith(SpringJUnit4ClassRunner.class)
@SpringApplicationConfiguration(classes = SpringBootApp.class)
@WebIntegrationTest(randomPort = true)

The problem i have is the application gets started and stopped for every test class. Is there anyway i can start the application once, run all the integration tests and stop?

Aucun commentaire:

Enregistrer un commentaire