Releases: jqwik-team/jqwik
Releases · jqwik-team/jqwik
Release 1.1.2
- Added
Arbitrary.forEachValue(Consumer action)
- Fixed Kotlin compatibility issue
- Fixed decimal generation bug
- Update to JUnit Platform 5.4.1
Release 1.0.0
-
Removed all deprecated APIs
- Annotation attribute
net.jqwik.api.Property.reporting()
- Class
net.jqwik.api.Tuples
- Method
net.jqwik.api.providers.TypeUsage.getAnnotation()
- Annotation attribute
-
jqwik now produces three artefacts: jqwik-api, jqwik-engine, jqwik
-
Filled in some missing parts in API Javadoc
-
Introduced
Arbitrary.allValues()
-
Adding annotations from JUnit Jupiter or Vintage engine will lead to warnings being logged
-
Range annotations (
IntRange
etc.) don't needmax
attribute any more -
@Positive
and@Negative
constraints no longer include 0 as possible value -
Added
@org.apiguardian.api.API
annotation to all types innet.jqwik.api.**
-
Added annotation
@Disabled
as a means to temporarily skip test methods or test containers
Release 0.9.3
- The probability of edge cases being generated is now higher
- New constraint annotation
@NotEmpty
- Arrays and varargs parameters hand configuration annotations down to their
component type arbitrary - Properties with unconstrained wildcards will now use any registered
arbitrary for value generation - Added [
Arbitraries.frequencyOf()
] - Added [
Arbitraries.recursive()
] - Integral number generation generates a few more edge cases
- You can use
@Size
to constrain the generation
ofActionSequence
parameters - Some incompatible changes to the
ActionSequence
interface - jqwik.jar does no longer deliver a jqwik.properties file in its classpath
- jqwik logs WARNING if unsupported property is used in
jqwik.properties
file - Replaced configuration file property
rerunFailuresWithSameSeed
by
`defaultAfterFailure' - Introduced [
@Property(afterFailure)
] ArbitraryConfiguratorBase
has new methodacceptType(TypeUsage)
,
which can be overridden.- Added two new after-failure-modes:
SAMPLE_ONLY
andSAMPLE_FIRST
- Action sequences for state-based properties are serializable now
in order to enableSAMPLE_ONLY
andSAMPLE_FIRST
Release 0.9.2
- Exhaustive generation works for ambiguous arbitrary resolution if each arbitrary
can be generated exhaustively - Fixed bug related to correct throwable propagation when shrinking
- Erroneous properties will also be shrunk now
Release 0.9.1
- Container shrinking tries one more thing to get smaller results
- Removed
RandomGenerator.reset()
since it's no longer needed for uniqueness behaviour_This is an incompatible API change!_
Arbitrary.unique()
does no longer propagate uniqueness across usages
of same arbitrary.- Implemented exhaustive generation for
Arbitrary.unique()
- Fixed bug when resolving recursive types
- Added
Arbitraries.shuffle()
as a way to generate permutations - Implemented exhaustive generation for
Arbitraries.frequency()
- Changed display name of test engine to "jqwik for Java"
- Per default jqwik no longer uses the JUnit platform reporter for reporting
because Gradle does not support it yet - Using JUnit platform reporter can now be configured
@Size
: min and max values can be used without the other@StringLength
: min and max values can be used without the other- Implemented exhaustive generation for
Arbitrary.flatMap()
- Implemented exhaustive generation for
Arbitraries.oneOf()
- Implemented exhaustive generation for
Arbitraries.strings()
- Support default generation of Iterables and Iterators
Release 0.8.11
Releasenotes: http://jqwik.net/user-guide.html#0811
Available on Maven Central
- Additionally added configurability of default tries and default max discard ratio
Statistics collections and reporting
Added Statistics.collect()
.
Flat map und shrinking improvements
- Added Arbitrary.flatMap(..)
- Container-based shrinking (e.g. Lists, Sets and Strings) now considers minimum size
Minor changes for W-JAX 2017
0.7.1 Update to version 0.7.1