I remember suspending forAll was available in kote...
# kotest
s
I remember suspending forAll was available in kotest. Any chance I am looking in the wrong modules or packages?
s
there are two available versions of forAll, blocking and suspend. in different packages
suspend is in package
io.kotest.data
blocking is in
io.kotest.data.blocking
s
I was looking to work with property based testing but seems those aren’t available.
🤷 1
s
Prop test is suspending
Did you include kotest-property module
s
kotest-property-jvm
s
Yep
s
I can not use suspending code inside the
forAll
unless I use some sort of
runBlocking
s
The forAll that uses reified is not suspending for some reason
So you can specify the gens and it is
s
Somehow I missed that the new
Arb
type is still
Gen
.
My bad 🤦‍♂️
Thanks!
s
Arb extends Gen so you can mix n match arb and exhaustive
s
Got it working!
Oh cool
Time to update my test suite this weekend!
s
Nice