Repository navigation
Fixing Bugs and Adapting Structure
New and Enhanced Features
-
Added
Arbitrary.dontShrink() -
Added
SetArbitrary.mapEach() -
Added
SetArbitrary.flatMapEach() -
Added
ListArbitrary.mapEach() -
Added
ListArbitrary.flatMapEach() -
Added
Arbitraries.just(aConstant)and deprecatedArbitraries.constant(aConstant).
Most other PBT libraries seem to usejustfor this functionality. -
Added programmatic access to JUnit 5 platform reporting
Breaking Changes
-
Introduced
StreamableArbitraryhierarchy:Arbitrary.set()now has return typenet.jqwik.api.arbitraries.SetArbitraryArbitrary.list()now has return typenet.jqwik.api.arbitraries.ListArbitraryArbitrary.stream()now has return typenet.jqwik.api.arbitraries.StreamArbitraryArbitrary.iterator()now has return typenet.jqwik.api.arbitraries.IteratorArbitrary
-
Arbitraries.maps(...)now has return typenet.jqwik.api.arbitraries.MapArbitrary -
net.jqwik.api.lifecycle.Reportermoved tonet.jqwik.api.Reporter
Bug Fixes
-
Reporting samples with circular dependencies does no longer throw an exception
-
Reporting test failure due to exception without message
no longer leads to ignored test -
Reporting shrunk samples now report the actual sample and not a freshly generated one