All Versions
23
Latest Version
Avg Release Cycle
23 days
Latest Release
5 days ago

Changelog History
Page 1

  • v0.3.0

    January 24, 2020

    Removed (Breaking)

    • Module core. It was an empty module only to provide transitive dependencies to most common used modules.

    ➕ Added

    Migration from 0.2.0

    ⚡️ Before updating to 0.3.0 (so using version 0.2.0)

    ✂ Remove all usage of deprecated members

    👉 Use Generator.withSamples instead of Generator.samples

    👉 Use Generator.randomSequence instead of Generator.randoms

    Replace dependencies of module core by evaluator and generator-stdlib
    Example with gradle for JVM project:

    dependencies { testImplementation("com.github.jcornaz.kwik:kwik-evaluator-jvm:0.2.0") testImplementation("com.github.jcornaz.kwik:kwik-generator-stdlib-jvm:0.2.0") }
    
  • v0.3.0-alpha.1_

    December 05, 2019

    Removed (Breaking) ......................

    • 🚚 Generator.samples property has been removed. Now the generator have to have a probability to generate the edge cases in generate. The recommended option when building a generator, is to use withSamples

    • 🚚 Generator.randoms function has been removed. Generator.generate or Generator.randomSequence should be used instead.

    🔄 Changed .......

    All generators no longer statically provide samples. Instead they have a good probability to generate edge cases.

    • (Breaking binary) withSample now takes a probability argument, and include the samples in the generation

    ➕ Added .....

    • ensureAtLeastOne utility in evaluation context, that will force property evaluation until a given predicate gets satisfied Thanks to alessandroagnelli_

    .. _alessandroagnelli: https://github.com/alessandroagnelli

    ⚡️ Dependencies Updated ....................

    • Kotlin (from 1.3.60 to 1.3.61)
  • v0.3.0-alpha.1

    December 05, 2019

    Removed (Breaking)

    🚚 Generator.samples property has been removed.
    Now the generator have to have a probability to generate the edge cases in generate.
    🏗 The recommended option when building a generator, is to use withSamples

    🚚 Generator.randoms function has been removed.
    Generator.generate or Generator.randomSequence should be used instead.

    🔄 Changed

    All generators no longer statically provide samples. Instead they have a good probability to generate edge cases.

    • (Breaking binary) withSample now takes a probability argument, and include the samples in the generation

    ➕ Added

    • ensureAtLeastOne utility in evaluation context,
      that will force property evaluation until a given predicate gets satisfied

    ⚡️ Dependencies Updated

    • Kotlin (from 1.3.60 to 1.3.61)
  • v0.3.0._

    January 24, 2020

    Removed (Breaking) ......................

    • Module core. It was an empty module only to provide transitive dependencies to most common used modules.

    ➕ Added .....

    • 🐧 linux and windows targets (x64 arch) Thanks to drodel_ and michellesantos_

    .. _drodel: https://github.com/drodel .. _michellesantos: https://github.com/michellesantos

    Migration from 0.2.0 ....................

    ⚡️ #. Before updating to 0.3.0 (so using version 0.2.0)

    #. Remove all usage of deprecated members
    
       * Use ``Generator.withSamples`` instead of ``Generator.samples``
    
       * Use ``Generator.randomSequence`` instead of ``Generator.randoms``
    
    #. Replace dependencies of module ``core`` by ``evaluator`` and ``generator-stdlib``
        Example with gradle for JVM project:
    
        .. code-block:: kotlin
    
            dependencies {
                testImplementation("com.github.jcornaz.kwik:kwik-evaluator-jvm:0.2.0")
                testImplementation("com.github.jcornaz.kwik:kwik-generator-stdlib-jvm:0.2.0")
            }
    
  • v0.2.0

    November 19, 2019

    🗄 Deprecated

    • samples property in Generator interface. (Samples are about to be included in generation of generate)
      One should use withSamples and frequency instead.

    ➕ Added

    • 🏗 andThen operator to make easier building complex generation pipeline
    • frequency combinator, allowing to create a frequency-parametrized generator

    ⚡️ Dependencies Updated

    • Kotlin (from 1.3.50 to 1.3.60)
  • v0.2.0-rc.1_

    September 18, 2019

    🔄 Changed .......

    • 0️⃣ default max size/length for string,collection and sequence generators set to 50 (instead of 200)

    ➕ Added .....

    • sequences generator
    • uuids generator
  • v0.2.0-rc.1

    September 18, 2019

    🔄 Changed

    • 0️⃣ default max size/length for string,collection and sequence generators set to 50 (instead of 200)

    ➕ Added

    • sequences generator
    • uuids generator
  • v0.2.0-beta.2_

    September 16, 2019

    🗄 Deprecated ..........

    • Method Generator.randoms(Long) the generator should generate single values, not a sequence.

    ➕ Added .....

    • (Breaking) method generate(Random): T in interface Generator to generate single value.
    • checkForAll. An alternative to forAll allowing to use assertion (throw in case of error) instead of returning a boolean. It can be especially helpful to more descriptive message about what is wrong.
    • 🗄 Generator.randomSequence extension function to replace the deprecated Generator.randoms(Long): Sequence<T>
  • v0.2.0-beta.2

    September 16, 2019

    🗄 Deprecated

    • Method Generator.randoms(Long) the generator should generate single values, not a sequence.

    ➕ Added

    • (Breaking) method generate(Random): T in interface Generator to generate single value.
    • checkForAll. An alternative to forAll allowing to use assertion (throw in case of error) instead of returning a boolean.
      It can be especially helpful to more descriptive message about what is wrong.
    • 🗄 Generator.randomSequence extension function to replace the deprecated Generator.randoms(Long): Sequence<T>
  • v0.2.0-beta.1_

    September 15, 2019

    🔄 Changed .......

    • Wrap exceptions thrown by the properties so that an helpful message can be displayed (number of attempts, arguments, etc.)

    ⚡️ Dependencies Updated ....................

    • Kotlin (from 1.3.41 to 1.3.50)