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,201
  • 3
  • 25
  • 34
l a s
  • 3,836
  • 10
  • 42
  • 61

0 Answers0