How would you define property test for a function ...
# kotest
s
How would you define property test for a function that should always return error if the input
string
is null, empty, or blank?
s
do you need a property test for this? Could use a data test with three inputs, null, "", " "
s
Yeah, I think you are right. Those 3 scenarios fully validate the "property" of the function.