Interface | Description |
---|---|
AfterContainerHook |
Implement this hook to define behaviour for a container (class or whole test suite)
that should be run exactly once after of its property methods and child containers.
|
AroundContainerHook |
An aggregate interface of BeforeContainerHook and AfterContainerHook
for convenience.
|
AroundPropertyHook |
Implement this hook to define behaviour that should "wrap" the execution of a property,
i.e., do something directly before or after running a property - or both.
|
AroundTryHook |
Implement this hook to define behaviour that should "wrap" the execution of a single try,
i.e., do something directly before or after executing a property method with a given list of parameters.
|
BeforeContainerHook |
Implement this hook to define behaviour for a container (class or whole test suite)
that should be run exactly once before any of its property methods and child containers.
|
ContainerLifecycleContext |
The context of a test container (a container class or the whole jqwik suite).
|
FalsifiedSample |
A falsified sample is the collection of data that could be falsified during
a property run.
|
LifecycleContext |
Supertype of all lifecycle context interfaces.
|
LifecycleHook |
This is the supertype of all lifecycle hook interfaces.
|
ParameterResolutionContext |
Experimental feature.
|
PerProperty.Lifecycle | |
PropertyAttributes |
Represents a property method's attributes which are set (or not)
in attributes of the Property annotation.
|
PropertyExecutionResult |
Represents the result of running a property.
|
PropertyExecutor |
Objects of this class represent a property's execution.
|
PropertyLifecycleContext |
The context information of a property or example.
|
RegistrarHook |
Use this hook if you want to apply several hook implementations that belong
together but that cannot be implemented in a single class, e.g. because
the same hook type must be added with different proximity or different propagation.
|
RegistrarHook.Registrar |
A short-lived object used for registering concrete hook implementation classes.
|
ResolveParameterHook |
This hook type allows to provide parameters for property methods
but also to annotated lifecycle methods.
|
ResolveParameterHook.ParameterSupplier |
A functional interface specialized on providing parameters to property methods
and to annotated lifecycle methods.
|
ShrunkFalsifiedSample |
A shrunk falsified sample is a FalsifiedSample that results
from shrinking.
|
SkipExecutionHook |
Use this hook to determine if an annotated element should be skipped during
a test run or not.
|
Store<T> |
Experimental feature.
|
TryExecutionResult |
Represents the result of calling a property method with a list of parameters.
|
TryExecutor |
Experimental feature.
|
TryLifecycleContext |
The context information of a single try of a property.
|
Class | Description |
---|---|
PerProperty.PerPropertyHook | |
SkipExecutionHook.SkipResult | |
Store.StoreFacade |
Enum | Description |
---|---|
Lifespan |
Define how long a resource,
e.g. the value in a Store with the same identifier,
will live:
For the whole test run
For the currently running property
For the currently running try
Any hook or collection of hooks can use this enum to allow the specification
of the lifespan of resources from which it is abstracting.
|
PropagationMode |
Describes if and how a concrete registered hook is propagated to children of
the element where the hook has been registered.
|
PropertyExecutionResult.Status |
Status of executing a single test or container.
|
TryExecutionResult.Status |
Status of running a single try.
|
Exception | Description |
---|---|
CannotFindStoreException |
Experimental feature.
|
CannotResolveParameterException |
Experimental feature.
|
Annotation Type | Description |
---|---|
AddLifecycleHook |
Use to register a concrete lifecycle hook implementation
for a test element -- a container class or a property method.
|
AfterContainer |
Annotate static methods of a container class with
@AfterContainer
to have them run exactly once after all of its properties or any lifecycle
methods from embedded containers have been run. |
AfterExample |
This is an alias of AfterProperty
|
AfterProperty |
Annotate methods of a container class with
@AfterProperty
to have them run once after each property (or example)
including properties (or examples) of embedded containers. |
AfterTry |
Annotate methods of a container class with
@AfterTry
to have them run once after each try - the actual invocation of the property
method with generated parameters - including properties of
embedded containers. |
BeforeContainer |
Annotate static methods of a container class with
@BeforeContainer
to have them run exactly once before any of its properties or any lifecycle
methods from embedded containers will be run. |
BeforeExample |
This is an alias of BeforeProperty
|
BeforeProperty |
Annotate methods of a container class with
@BeforeProperty
to have them run once before each property (or example)
including properties (or examples) of embedded containers. |
BeforeTry |
Annotate methods of a container class with
@BeforeTry
to have them run once before each try - the actual invocation of the property
method with generated parameters - including properties of
embedded containers. |
LifecycleHooks |
Experimental feature.
|
PerProperty |
Annotate property methods of a container class with
@PerProperty
if you want to have some lifecycle control over this property alone. |