https://kotlinlang.org logo
#kotest
Title
# kotest
x

xenomachina

02/28/2023, 8:01 PM
If using
InstancePerTest
or
InstancePerLeaf
, does
autoClose(x)
close x when the spec class is finished (ie: all of the tests in the spec have completed) or when the specific spec instance is finished?
s

sam

03/02/2023, 2:58 PM
after that particular instance is finished
every instance gets their own resource/lifecycle
x

xenomachina

03/02/2023, 9:58 PM
Thanks! That's what I was hoping.
8 Views