Skip to content

0.2.0 - Shrinking

Compare
Choose a tag to compare
@x-sheep x-sheep released this 27 May 12:53
· 18 commits to main since this release
cacc873

Shrinking functionality has been added. It has been disabled by default, but can be enabled by adding the trait .shrinking to a test or test suite.

A fork of swift-gen has been added, which is no longer source-compatible with the original swift-gen.

  • The Gen struct has been split into a Gen namespace, and the Generator struct for concrete implementations. Replace your custom generators with a call to Generator.
  • All calls to a built-in generator must be fully qualified as e.g. Gen.int instead of just .int.
  • Not all functions are currently available, like flatMap and frequency. These will be added in a later update.