glados 0.4.0 copy "glados: ^0.4.0" to clipboard
glados: ^0.4.0 copied to clipboard

outdated

🍰 A simple testing framework that tries to break your properties.

0.4.0 #

  • Support async tests.
  • Explore is now ExploreConfig.
  • You can now use all parameters that you would pass to the normal test function (to set timeouts, configure which platform the test runs on etc.). Glados simply forwards those parameters.
  • Your tests can depend on a Random! Just use testWithRandom
  • Rename invariant to property to align with the terminologoy usually used in property-based testing frameworks.
  • Make PropertyTestNotDeterministic error more helpful.
  • Glados itself is now (partially) tested.

0.3.4 #

  • Make pattern images more readable.
  • Fix minor errors in readme.

0.3.3 #

  • Add section about how to find properties.

0.3.2 #

  • Fix more analysis warnings.

0.3.1 #

  • Fix analysis warnings.

0.3.0 #

  • Make NoGeneratorFound error even more helpful by suggesting packages.
  • Make InvariantNotDeterministic error more helpful.
  • Remove code generator, because higher-level primitives make writing generators just a few lines of code.
  • Fix analysis warnings.

0.2.2 #

  • Make NoGeneratorFound error much more helpful.
  • Fix analysis warnings.

0.2.1 #

  • Update readme.

0.2.0 #

  • Make architecture more flexible: Split arbitraries into Generators and Shrinkables.
  • Add generators:
    • Meta generators: simple, always, choose, either, combine2, combine3, combine4, combine5, combine6, combine7, combine8, combine9, combine10
    • int generators: intInRange, positiveInt, positiveIntOrZero, negativeInt, negativeIntOrZero, uint8, uint16, uint32, uint64, int8, int16, int32, int64
    • double generators: doubleInRange, positiveDoubleOrZero, negativeDouble
    • num generator: numInRange
    • BigInt generator: bigIntInRange
    • List generators: listWithLengthInRange, listWithLength
    • Set generators: setWithLengthInRange, setWithLength, nonEmptySet
    • DateTime generators: dateTimeBeforeEpoch, dateTimeAfterEpoch
    • Duration generators: positiveDuration, negativeDuration
    • String generators: letterOrDigit
  • Improve shrinking for double generators: The decimal digits of values are now shrunk too (e.g. 2.2 is considered less complex than 2.1008).
  • Improve the code generator:
    • It uses the new meta generators to generate more concise code.
    • It provides a much better error experience.
  • Make readme more concisee.
  • Make package more lightweight by moving sticker image to a separate location and removing git files.

0.1.6 #

  • Add quickstart section to readme.
  • Fix errors in readme.
  • Remove several unused files.

0.1.5 #

  • Improve readme.
  • Fix code generator for classes.
  • Fix analysis errors.

0.1.4 #

  • Add code generator.
  • Add arbitrary: stringOf
  • Flesh out example.
  • Fix analysis error.

0.1.3 #

  • Move sticker to the top.
  • Minor readme improvements.

0.1.2 #

  • Improve readme.
  • Fix the sticker URL.

0.1.1 #

  • Improve readme. This includes adding a Glados sticker at the top.
  • Add arbitraries: nonEmptyList, positiveInt, positiveIntOrZero, negativeInt, negativeIntOrZero

0.1.0 #

  • Redesign API: Syntax is now Glados<...>().test(...). The any provides a namespace for all Arbitrarys.
  • Improve readme and describe customization options.
  • Improve console output.
  • Add arbitraries: lowercaseLetter, uppercaseLetter, letter, digit
  • Make errors more helpful by providing call to actions.

0.0.4 #

  • Improve readme.
  • Add arbitraries: null, bool, int, double, num, bigInt, dateTime, duration, set, list, mapEntry, map
  • Improve errors.

0.0.3 #

  • Improve readme.
  • Improve doc comments.

0.0.2 #

  • Add glados2 and glados3 for testing with multiple input parameters.
  • Improve readme.
  • Improve console output.
  • Add doc comments.

0.0.1 #

  • Initial release.
35
likes
20
pub points
69%
popularity

Publisher

unverified uploader

🍰 A simple testing framework that tries to break your properties.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

analyzer, build, characters, meta, source_gen, test

More

Packages that depend on glados