Using Testcontainers without JUnit4 dependency

In this blog post I will explain how to run integration test with Testcontainers without using JUnit4 dependency. Testcontainers has support for JUnit5 but it has dependency on JUnit4 libraries. Java frameworks either new or old frameworks with newer versions are not including the JUnit4 dependencies. For example, Spring Boot version 2.4.2 completely removed JUnit4…