Interface TraverseArbitrary<T>

  • All Superinterfaces:
    Arbitrary<T>

    @API(status=EXPERIMENTAL,
         since="1.6.1")
    public interface TraverseArbitrary<T>
    extends Arbitrary<T>
    Fluent interface to configure arbitraries that try to generate instances of a given type T from the type's available constructors and factory methods.
    • Method Detail

      • enableRecursion

        TraverseArbitrary<T> enableRecursion()
        Enable recursive use of traversal: If a parameter of a creator function cannot be resolved, jqwik will also traverse this parameter's type.
        Returns:
        new arbitrary instance