hi, i wonder is there any alternatives of `Instanc...
# kotest
t
hi, i wonder is there any alternatives of
InstancePerLeaf
on Kotest 6.0.0 (M3). i want to instantiate test cases for each
it
blocks of
DescribeSpec
l
InstancePerLeaf was removed per design. I believe the closest one to adapt to is InstancePerTest
t
InstancePerTest
is also removed
s
InstancePerRoot is best
if you can use that
t
InstancePerRoot
is not so helpful for
DescribeSpec
, which allows structured (nested) test (describe-context-test) we want to instantiate something defined under
describe
and
context
for each
test
block because test block has actual assertion statements