I'm writing jqwik tests in Kotlin. I have this parameter to one of my property tests:
@ForAll @Size(3) @UniqueElements emails: List<@Email @NotBlank String>
But when I run the test, it invariably produces
emails: ["", "�", "A"]
which is clearly not following the constraint I thought I was giving. What am I doing wrong?
I just tried successfully:
I assume there's a misconfiguration on your side. Here's a few things that could go wrong:
jqwik-kotlin
module as a dependency? This is necessary to mitigate some of the Java-Kotlin incompatibilities.