I wonder if it is possible to have something like a SpringBootTest in pure #SpringMVC, i.e. start complete #Spring application along with some external services via #testcontainers?

I'm trying to improve a legacy Spring application, which can't be ported to #SpringBoot easily. #java

@steinchen Did you look at e2e test? Selenium, i.e.

@bvn13 I want to start Spring application directly via JUnit and not by deploying final application first to some server.

That's possible with SpringBootTest.

@steinchen @bvn13

I think you can use SpringExtension in combination with ContextConfiguration annotation. Both are part of Spring Framework.