5

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?

Steven Schobert
  • 4,104
  • 3
  • 24
  • 33
l a s
  • 3,530
  • 10
  • 40
  • 59

0 Answers0