Performance, Bugs and Small Things
New and Enhanced Features
-
Introduced
Arbitrary.ignoreExceptions(exType1, exType2, ...)
. -
Introduced
@Provide(ignoreExceptions = {<ExceptionType>})
attribute, which allows to ignore exceptions in provider methods in a simple way. -
Introduced
Footnotes.addAfterFailure(Supplier<String>)
.
See #310. -
Fixed quite a few performance and memory issues by means of merging pull requests
from vlsi. Thanks a lot! -
All methods of
net.jqwik.api.Arbitrary
and subtypes now have@CheckReturnValue
annotation.
That means you will get a warning from your IDE if you don't use the result of an arbitrary method,
given that you haveorg.jetbrains:annotations
as a compile-time dependency. -
Upgrade to Kotlin 1.8.0
Breaking Changes
-
Renamed
ChainArbitrary.addTransformation(..)
toChainArbitrary.withTransformation(..)
-
Renamed
ActionChainArbitrary.addAction(..)
toActionChainArbitrary.withAction(..)