Package net.jqwik.api
@NullMarked
package net.jqwik.api
-
KlasseBeschreibungThe after-failure mode determines how a property behaves after it has been falsified.The main interface for representing objects that can be generated and shrunk.ArbitrarySupplier<T extends @Nullable Object>Implementations of this class are used to provide single arbitraries for
ForAll
parameters and parameter types annotated withFrom
.Provide access to combinators through builder functionality.Builders.CombinableBuilder<B,T extends @Nullable Object> Functionality to manipulate a builder.Combinator for two values.Combinators.Combinator3<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object> Combinator for three values.Combinators.Combinator4<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object> Combinator for four values.Combinators.Combinator5<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object> Combinator for five values.Combinators.Combinator6<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object> Combinator for six values.Combinators.Combinator7<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object> Combinator for seven values.Combinators.Combinator8<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object, T8 extends @Nullable Object> Combinator for eight values.Combinators.F3<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, R extends @Nullable Object> Combinators.F4<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, R extends @Nullable Object> Combinators.F5<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, R extends @Nullable Object> Combinators.F6<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, R extends @Nullable Object> Combinators.F7<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object, R extends @Nullable Object> Combinators.F8<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object, T8 extends @Nullable Object, R extends @Nullable Object> Combinators.ListCombinator<T extends @Nullable Object>Combinator for any number of values.Used to annotate methods that can provide data points for property methods.Use@Disabled("reason to disable")
to disable test container or test method during normal test execution.The edge-cases mode determines if and when combined edge-cases of all parameters will be explicitly generated.Use@Example
to mark methods that are simple, example-based test cases.ExhaustiveGenerator<T extends @Nullable Object>Used only internally to run and compute exhaustive generation of parametersThis interface is no longer used anywhere in jqwik's public API and could therefore be deprecated and moved to engine implementation.The fixed seed mode determines how jqwik should behave if a property has an explicitProperty.seed()
specified.Used to annotate method parameters that will be provided by jqwik.Used to annotate type parameters within property parameters annotated with ForAll .Used to annotate property methods.Wraps a function to be generated.The generation mode defines the generation behaviour of a property.Base exception for exceptions that are thrown during the discovery phase and during setup of properties before they are actually run.Use@Label("a descriptive name")
to give test classes, groups and methods a more readable label (aka display name).Use@Property
to mark methods that serve as properties.Annotate a container class with@PropertyDefaults
if you want to set defaults ofProperty
attributes of all contained property methods.Used to annotate methods that can provide values for property method parameters.Determines how generated numerical values are generated and distributed across the allowed range and a center withing this range.Generator for BigInteger values which are behind all generated numeric values in jqwik.RandomGenerator<T extends @Nullable Object>Use@Report
to specify what additional things should be reported when running a property.An interface that can be used to report additional information for a test element, i.e. a test container or property.Shrinkable<T extends @Nullable Object>AShrinkingDistance
is a measure of how close a value is to the minimum value, aka target value.The shrinking mode defines the shrinking behaviour of a property.Use@Tag("a tag")
to give test classes, groups and methods an (additional) tag which can later be used to select the set of tests to execute.Typed Tuples are very convenient containers to have, especially in the context of generating dependent values.Tuple.Tuple1<T1 extends @Nullable Object>Tuple.Tuple4<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object> Tuple.Tuple5<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object> Tuple.Tuple6<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object> Tuple.Tuple7<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object> Tuple.Tuple8<T1 extends @Nullable Object,T2 extends @Nullable Object, T3 extends @Nullable Object, T4 extends @Nullable Object, T5 extends @Nullable Object, T6 extends @Nullable Object, T7 extends @Nullable Object, T8 extends @Nullable Object>