Hi, when using the generators for Property based t...
# kotlintest
d
Hi, when using the generators for Property based testing, is there a way to genereate nulls for nullable types? e.g. we are calling
Gen.string()
I'm looking for something like
Gen.string().withNulls()
or similar
l
There is a very similar construct:
Gen.string().orNull()
It will include null as one of the
Gen
constants
👍 1
d
🙏 perfect, thanks 🙂
❤️ 2