On a meetup today I talked to @kiview who had been presenting testcontainers and mentioned the upcoming 2.0 refactor.
I suggest we take this opportunity to work out a language / implementation agnostic domain of behaviors for testcontainers so whatever implementation is used the API would be similar and easy to grasp.
This can also apply to conceptual problems like how to implement certain waiting strategies or how to integrate with docker-compose or Kubernetes.
I opened https://github.com/testcontainers/testcontainer-go/issues/21 to track this on the go implementation which I'd like to contribute to.
Hey @mraerino, great that you directly started this discussion.
I'm pinging @rnorth, maybe he already produced some docs for this when working on the docs rewrite.
Else I would probably just start to brain dump my current impression of existing Domain objects and events into this issue and then we can discuss it.
Just a link to @rnorth 's draft:
https://gist.github.com/rnorth/3b31471ac29ba34c9ad266450f205cdd
Most helpful comment
Hey @mraerino, great that you directly started this discussion.
I'm pinging @rnorth, maybe he already produced some docs for this when working on the docs rewrite.
Else I would probably just start to brain dump my current impression of existing Domain objects and events into this issue and then we can discuss it.