Expose GenericContainer::withReuse?
As far as I can tell, the Testcontainers API for reusable containers is currently not exposed by testcontainers-clj. I've got it to work with
(-> (tc/create ...)
(tc/bind-filesystem! ...)
(update :container #(.withReuse % true))
This uses GenericContainer::withReuse.
Would you consider adding something like this to the library?
Hi @fkretlow, thanks for the suggestion! From a first look, this could be implemented to be expressed by data, like other configuration options, too. I will try and consider it for the next release
@fkretlow Thanks again for the suggestion and the patience! I added a proposal for the feature in the commit 0e2d483 linked to this issue, would this interface enhancement work for you?
Yes, thank you, I can totally work with that. :)
@javahippie Hi Tim! Is there any chance for this to see the light of day?