Interface TraverseArbitrary<T extends @Nullable Object>

All Superinterfaces:
Arbitrary<T>

@API(status=MAINTAINED, since="1.8.0") public interface TraverseArbitrary<T extends @Nullable Object> 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 Details

    • 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