It's quite reasonable IMO.

Comment From: snicoll

It's not unreasonable indeed but what do you expect to be able to do with only the API on the classpath?

Comment From: wilkinsona

org.testcontainers:testcontainers contains everything you need to use GenericContainer so it's useful for anything for which Testcontainers doesn't have a specific module. The Redis support that we've got in spring-boot-test-support is one example.

Comment From: quaff

It's not unreasonable indeed but what do you expect to be able to do with only the API on the classpath?

It's weird that if I want to use GenericContainer I must add testcontainers even if spring-boot-testcontainers present.

Comment From: snicoll

Got it, sorry and thanks for the additional details.