ClassDescriptionUse to register a concrete lifecycle hook implementation for a test element -- a container class or a property method.Annotate static methods of a container class with
@AfterContainerto have them run exactly once after all of its properties or any lifecycle methods from embedded containers have been run.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.This is an alias of AfterPropertyAnnotate methods of a container class with
@AfterPropertyto have them run once after each property (or example) including properties (or examples) of embedded containers.Annotate methods of a container class with
@AfterTryto have them run once after each try - the actual invocation of the property method with generated parameters - including properties of embedded containers.An aggregate interface of BeforeContainerHook and AfterContainerHook for convenience.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.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.Annotate static methods of a container class with
@BeforeContainerto have them run exactly once before any of its properties or any lifecycle methods from embedded containers will be run.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.This is an alias of BeforePropertyAnnotate methods of a container class with
@BeforePropertyto have them run once before each property (or example) including properties (or examples) of embedded containers.Annotate methods or member variables of a container class with
@BeforeTry.Experimental feature.Experimental feature.The context of a test container (a container class or the whole jqwik suite).A falsified sample is the collection of data that could be falsified during a property run.Implement this hook to override behaviour that invokes a method through reflection.Supertype of all lifecycle context interfaces.This is the supertype of all lifecycle hook interfaces.Experimental feature.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.Experimental feature.Annotate property methods of a container class with
@PerPropertyif you want to have some lifecycle control over this property alone.Describes if and how a concrete registered hook is propagated to children of the element where the hook has been registered.Represents a property method's attributes which are set (or not) in attributes of the Property annotation.Represents the result of running a property.Status of executing a single test or container.Objects of this class represent a property's execution.The context information of a property or example.Implement this hook to override behaviour that provides the test instance for each property try.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.A short-lived object used for registering concrete hook implementation classes.This hook type allows to provide parameters for property methods but also to annotated lifecycle methods.A functional interface specialized on providing parameters to property methods and to annotated lifecycle methods.A shrunk falsified sample is a FalsifiedSample that results from shrinking.Use this hook to determine if an annotated element should be skipped during a test run or not.Store<T>Experimental feature.Any value that implements this interface will automatically be closed when its store goes out of scope.Represents the result of calling a property method with a list of parameters.Status of running a single try.Experimental feature.The context information of a single try of a property.