Hello, I want to use testcontainers extension with...
# kotest
l
Hello, I want to use testcontainers extension with
ContainerLifecycleMode
but I don’t see how to restart the container for each test. Can someone help me with that ?
l
Did you try to play around with the IsolationMode?
l
Oh now I see my problem. I think the doc is not updated. The doc still uses the deprecated
LifecycleMode
https://kotest.io/docs/5.5/extensions/test_containers.html#lifecycle It looks like it’s no longer available with the
ContainerLifecycleMode
replacement I will try with
IsolationMode
Looks like it’s working with
ContainerLifecycleMode._Spec_
and
IsolationMode._InstancePerTest_
👍 1
Thanks @LeoColman
kotest intensifies 1