Testcontainers does not run if JUnit 4 is not present on classpath because GenericContainer implements JUnit 4 TestRule.
Spring Boot 2.4 will remove JUnit 4 from classpath. Having both versions of JUnit on classpath is inconvenient for authoring tests, as developer is constantly forced to choose a proper import when typing @Test etc.
I think Testcontainers should have a roadmap for releasing a version without JUnit 4 dependency.
Testcontainers does not run if JUnit 4 is not present on classpath because GenericContainer implements JUnit 4 TestRule.
Spring Boot 2.4 will remove JUnit 4 from classpath. Having both versions of JUnit on classpath is inconvenient for authoring tests, as developer is constantly forced to choose a proper import when typing
@Testetc.I think Testcontainers should have a roadmap for releasing a version without JUnit 4 dependency.