All Versions
27
Latest Version
Avg Release Cycle
23 days
Latest Release
99 days ago

Changelog History
Page 3

  • v0.1.0-alpha.4

    June 10, 2019

    ➕ Added

    • filter operator for generators
    • (Breaking) samples property in the Generator interface to improve management of the value samples (edge-cases)
    • forAll non-inline function, allowing to hide implementation details.
    • 🔀 + operator for generator, allowing to merge 2 generators.
      Example: nonZeroInts() = ints(max = -1) + ints(min = 1)

    🔄 Changed

    • (Breaking) Renamed arguments from and until of floats and doubles generators
      for more consistency with the int and long generators
    • (Breaking) Make the lambda of forAll crossinline, to allow usage of a non-inline function and hide implementation details.
    • Now the size probability for strings a collections generators is similar for all sizes.
      Instead, they have empty and singletons instances as samples
    • combine and combineWith now start by a combination of the source generators and will randomly add samples in the random generations.
    • Prevent error when passing a big min size/length without a max size/length for collection and strings generators

    ✂ Removed

    • (Breaking) ratio argument from the withSamples and withNull operators
  • v0.1.0-alpha.3_

    June 08, 2019

    ➕ Added .....

    • 💅 Generator.combine as a style alternative to combine generators

    🔄 Changed .......

    • (Breaking) zip operator renamed to combineWith for better clarity and discoverability
  • v0.1.0-alpha.3

    June 08, 2019

    ➕ Added

    • 💅 Generator.combine as a style alternative to combine generators

    🔄 Changed

    • (Breaking) zip operator renamed to combineWith for better clarity and discoverability
  • v0.1.0-alpha.2_

    May 19, 2019

    ➕ Added .....

    • ints, longs, floats, doubles and boolean generators
    • map operator to transform an existing generator
    • Generator.of() to create a generator from a finite set of samples
    • enum to create a generator from an enum
    • strings to create a String generator
    • 0️⃣ default Capable of inferring what generator to return for a given type
    • lists, sets and maps generators

    🔄 Changed .......

    • (Breaking) Default generator arguments added in forAll and checkForAll

    ✂ Removed .......

    • (Breaking) checkForAll functions as it was unsafe, allowing to forget assertions without compile-time error
  • v0.1.0-alpha.2

    May 19, 2019

    ➕ Added

    • ints, longs, floats, doubles and boolean generators
    • map operator to transform an existing generator
    • Generator.of() to create a generate from a finite set of samples
    • enum to create a generator from an enum
    • strings to create a String generator
    • 0️⃣ default Capable of inferring what generator to return for a given type.
    • lists, sets and maps generators

    🔄 Changed

    • 0️⃣ Default generator arguments added in forAll and checkForAll.

    ✂ Removed

    • checkForAll functions as it was unsafe, allowing to forget assertions without compile-time error.
  • v0.1.0-alpha.1_

    May 18, 2019

    ➕ Added .....

    • Generator interface for generating random values
    • randomSequence helper to easily create a random (yet predictable) sequence of value
    • forAll and checkForAll function to assess a property of the system under test.
    • withSample and withNull to inject constants values to be always tested
    • zip operator to combine two given generators

    🚀 .. _Unreleased: https://github.com/jcornaz/kwik/compare/0.4.0...master .. _0.4.0: https://github.com/jcornaz/kwik/compare/0.3.0...0.4.0 .. _0.3.0: https://github.com/jcornaz/kwik/compare/0.3.0-alpha.1...0.3.0 .. _0.3.0-alpha.1: https://github.com/jcornaz/kwik/compare/0.2.0...0.3.0-alpha.1 .. _0.2.0: https://github.com/jcornaz/kwik/compare/0.2.0-rc.1...0.2.0 .. _0.2.0-rc.1: https://github.com/jcornaz/kwik/compare/0.2.0-beta.2...0.2.0-rc.1 .. _0.2.0-beta.2: https://github.com/jcornaz/kwik/compare/0.2.0-beta.1...0.2.0-beta.2 .. _0.2.0-beta.1: https://github.com/jcornaz/kwik/compare/0.1.0...0.2.0-beta.1 .. _0.1.0: https://github.com/jcornaz/kwik/compare/0.1.0-beta.1...0.1.0 .. _0.1.0-beta.1: https://github.com/jcornaz/kwik/compare/0.1.0-alpha.4...0.1.0-beta.1 .. _0.1.0-alpha.4: https://github.com/jcornaz/kwik/compare/0.1.0-alpha.3...0.1.0-alpha.4 .. _0.1.0-alpha.3: https://github.com/jcornaz/kwik/compare/0.1.0-alpha.2...0.1.0-alpha.3 .. _0.1.0-alpha.2: https://github.com/jcornaz/kwik/compare/0.1.0-alpha.1...0.1.0-alpha.2 .. _0.1.0-alpha.1: https://github.com/jcornaz/kwik/tree/0.1.0-alpha.1

  • v0.1.0._

    July 28, 2019

    ➕ Added .....

    • StringCharSets object with numeric, alphaLowerCase, alphaUpperCase, alpha and alphaNumeric. Sets of character to easily configure the string generator.
    • 0️⃣ kwik.iterations system property to globally define a default number of iteration.

    Modules extracted from core ...........................

    • 🚚 Generator API moved to generator-api module (artifacts generator-api-common and generator-api-jvm)
    • 🚚 Generators for types of the kotlin standard library is moved to generator-stdlib module (artifacts generator-stdlib-common and generator-stdlib-jvm)
    • 🚚 The property evaluation is moved to evaluator (artifacts evaluator-common and evaluator-jvm)

    .. note:: The module core remains as an alias of all the modules above. So it is still easy to get started with Kwik by simply adding core as a dependency

    📦 Package names changed (Breaking) ................................

    👀 The packages have been renamed, and classes/files have been moved to reflect their new module (see Modules extracted from core_)

    • (Breaking) The content com.github.jcornaz.kwik.generator as been moved to com.github.jcornaz.kwik.generator.stdlib
    • (Breaking) The content com.github.jcornaz.kwik as been splitted into com.github.jcornaz.kwik.generator.api and com.github.jcornaz.kwik.evaluator

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

    • Kotlin (from 1.3.40 to 1.3.41)