Annotation Type ForAll


@Target({ANNOTATION_TYPE,PARAMETER}) @Retention(RUNTIME) @Documented @ExperimentalApi public @interface ForAll
Denotes the property to run the property based test case against. Optionally, the generator could be specified to provide the samples.
Since:
3.6.0
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The generator to provide the samples (optional).
  • Element Details

    • value

      String value
      The generator to provide the samples (optional). The generator should be the name of the method that is declared in the current test suite and returns the instance of the Arbitrary that corresponds to the type of the property.
      Since:
      3.6.0
      Default:
      ""