Influence Distribution of Container Size
New and Enhanced Features
-
You can now influence the random distribution of
the size of generated multi-value containers
(sets, lists, arrays, streams, iterators and maps). -
You can now influence the random distribution of
the size of generated strings. -
All container-based arbitraries (e.g. List, Sets, Strings) now generate containers
without duplicated elements with a higher probability even when they have many elements. -
String arbitraries now generate duplicate chars and series of chars with a higher probability.
-
Added
CharacterArbitrary.numeric()
andCharacterArbitrary.alpha()
.
Breaking Changes
-
ActionSequenceArbitrary
no longer extendsSizableArbitrary
. -
ActionSequenceArbitrary.ofMinSize()
andActionSequenceArbitrary.ofMaxSize()
is now deprecated. -
CharacterArbitrary.digit()
is now deprecated.