chore(deps): update version.jqwik to v1.4.0 #6299
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.10
->1.4.0
1.3.10
->1.4.0
Release Notes
jlink/jqwik
v1.4.0
Compare Source
New and Enhanced Features
Upgrade to JUnit Platform 1.7.1
Using
@Property(edgeCases = NONE)
will now also suppress the generation ofedge cases in embedded arbitraries.
You now have the capability to configure an
arbitrary's edge case generation.
There is a new annotation attribute
@Property.whenSeedFixed
and a newconfiguration parameter
jqwik.seeds.whenfixed
to warn or even fail when a property has been given a fixed random seed.
See this issued for more details.
Many thanks to osi for this contribution.
jqwik's approach to specify uniqueness of generated objects has been completely revamped:
Arbitrary.unique()
and the annotation@Unique
are now deprecated and willbe removed in version 1.5.
are now handled by the elements' container.
is called
@UniqueElements
and applied to the container's type.Arbitraries modified through
Arbitrary.unique()
, which is deprecated anyway,no longer generate edge cases. This is actually a bug fix since the
generated edge were not considered for uniqueness.
There's a new jqwik module
jqwik-time
which simplifies the generation of dates (and times in a future release).
Many thanks to zinki97 for this contribution.
There's a new jqwik module
jqwik-web
which is currently home of email addresses generation.
Configuration parameters are now loaded via JUnit's
Configuration Parameters mechanism.
Parameters specified in
jqwik.properties
continue to work, but are considered deprecated.Log messages will be emitted for any used properties with their new name.
Some parameter names have also changed.
Many thanks to osi for this contribution.
Using internal Kotlin methods as properties will now produce the correct name
as seen in the Kotlin source code.
The User Guide has been restructured.
There will now be a warning log entry when a property with more than 1 try has no
'@鈥婩orAll' parameters.
Promoted APIs from
EXPERIMENTAL
toMAINTAINED
net.jqwik.api.lifecycle
Arbitrary.dontShrink()
Combinators.CombinableBuilder.inSetter(..)
PropertyDefaults
Reporter
SampleReportingFormat
Tuple.of()
Tuple.empty()
BigDecimalArbitrary.shrinkTowards(..)
BigIntegerArbitrary.shrinkTowards(..)
ByteArbitrary.shrinkTowards(..)
DoubleArbitrary.shrinkTowards(..)
FloatArbitrary.shrinkTowards(..)
IntegerArbitrary.shrinkTowards(..)
LongArbitrary.shrinkTowards(..)
ShortArbitrary.shrinkTowards(..)
SetArbitrary.mapEach(..)
SetArbitrary.flatMapEach(..)
ListArbitrary.mapEach(..)
ListArbitrary.flatMapEach(..)
ActionSequence.withInvariant(..)
Statistics.coverage(..)
StatisticsCollector.coverage(..)
StatisticsCoverage
StatisticsEntry
Breaking Changes
Arbitraries.emails()
has been moved tonet.jqwik.web.api.Web.emails()
in newWeb module.
@net.jqwik.api.constraints.Email
annotation has been moved to@net.jqwik.web.api.Email
in newWeb module.
Parameters annotated with
@Email
will by default only generate"standard" email addresses.
Removed deprecated APIs
Arbitrary.samples(..)
FalsificationResult
SampleReportingFormat.reportJavaBean(..)
Shrinkable.shrink(Falsifier<T> falsifier)
ShrinkingSequence
CharacterArbitary.with(Arbitrary<Character> characterArbitrary)
StringArbitary.withChars(Arbitrary<Character> characterArbitrary)
Unconstrained wildcards are no longer handled in a special way
but just like unconstrained type variables.
Arbitrary.array(..)
now returnsArrayArbitrary
instead ofStreamableArbitrary
Bug Fixes
when
Arbitrary.edgeCases(edgeCasesConfig)
was used.Renovate configuration
馃搮 Schedule: At any time (no schedule defined).
馃殾 Automerge: Disabled by config. Please merge this manually once you are satisfied.
鈾伙笍 Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
馃敃 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by WhiteSource Renovate. View repository job log here.