Skip to content

Releases: jqwik-team/jqwik

Release 1.1.2

30 Mar 14:43
Compare
Choose a tag to compare

Release 1.0.0

11 Jan 08:05
Compare
Choose a tag to compare
  • Removed all deprecated APIs

    • Annotation attribute net.jqwik.api.Property.reporting()
    • Class net.jqwik.api.Tuples
    • Method net.jqwik.api.providers.TypeUsage.getAnnotation()
  • 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 need max attribute any more

  • @Positive and @Negative constraints no longer include 0 as possible value

  • Added @org.apiguardian.api.API annotation to all types in net.jqwik.api.**

  • Added annotation @Disabled as a means to temporarily skip test methods or test containers

Release 0.9.3

30 Nov 10:40
Compare
Choose a tag to compare
  • 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
    of ActionSequence 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 method acceptType(TypeUsage),
    which can be overridden.
  • Added two new after-failure-modes: SAMPLE_ONLY and SAMPLE_FIRST
  • Action sequences for state-based properties are serializable now
    in order to enable SAMPLE_ONLY and SAMPLE_FIRST

Release 0.9.2

05 Nov 15:13
Compare
Choose a tag to compare
  • 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

28 Oct 16:21
Compare
Choose a tag to compare
  • 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

13 May 15:33
Compare
Choose a tag to compare

Available on Maven Central

04 Jan 18:21
Compare
Choose a tag to compare
  • Additionally added configurability of default tries and default max discard ratio

Statistics collections and reporting

03 Dec 17:06
Compare
Choose a tag to compare

Added Statistics.collect().

Flat map und shrinking improvements

13 Nov 16:31
Compare
Choose a tag to compare
  • Added Arbitrary.flatMap(..)
  • Container-based shrinking (e.g. Lists, Sets and Strings) now considers minimum size

Minor changes for W-JAX 2017

08 Nov 13:24
Compare
Choose a tag to compare
0.7.1

Update to version 0.7.1