This is a rough sketch of how a revised API for Testcontainers could look - don't read too much into it.
Key goals:
- How it works should be simple and obvious for the benefit of users and contributors
- Don't lose too much in-IDE 'discoverability' of the API when compared with the current implementation
- Break dependency on JUnit to allow usage with other testing frameworks
- Have separate APIs for configuring containers and using a running container