“Out of the box” (core + generators), junit-quickcheck recognizes property parameters of the following types:
java.math.Big(Decimal|Integer)
java.util.Date
enum
String
java.lang.Object
)java.util.Optional
of supported typesjava.util.ArrayList
and java.util.LinkedList
of supported typesjava.util.HashSet
and java.util.LinkedHashSet
of supported typesjava.util.HashMap
and java.util.LinkedHashMap
of supported typesjava.lang.Object
or are not default
)When many generators can satisfy a given property parameter based on its type (for example, java.io.Serializable
), on a given generation junit-quickcheck will choose one of the multiple generators at random with (roughly) equal probability.