Recursive Generation Improvements
New and Enhanced Features
-
Arbitraries.lazyOf(Supplier<Arbitrary<T>> ...)
is now the method of choice for
recursive value generation. It has much better shrinking behaviour than the
more genericlazy()
combined withoneOf()
. -
Added
PropertyLifecycleContext.attributes()
, which allows to query, set and change
a property method's attributes like number of tries and seed within a
AroundPropertyHook
lifecycle hook. -
Added
@PropertyDefaults
annotation which allows to set the defaults
of all property methods in a container.
Breaking Changes
- No known breaking changes
Bug Fixes
- Made loading of services thread-safe to allow use of jqwik generators
in parallel JUnit runs: #117.
Thank you, https://github.com/Danny02!