Rantly Versions Save

Ruby Imperative Random Data Generator and Quickcheck

2.0.0

5 years ago

New features

  • Add support for float ranges to range generator

Bug fixes

  • range generator returns nil for invalid ranges
  • choose generator returns nil when no values are given
    • thanks @Ana06

Changes

  • Only support for Ruby >= 2.4 and JRuby >= 9.2
  • Do not render all shrinking levels, only the failing case and the minimal failed data.
    • thanks @Ana06
  • Improve failure/success messages
    • thanks @Ana06

1.2.0

5 years ago

New features

  • Allow to generate floats using Gaussian distribution
    • Issue #29
    • thanks @Ana06 and @vicgalle

Bug fixes

  • NoMethodError - undefined method retry? - when a test using dict fails
    • Issue #39
    • thanks @Ana06

Changes

  • Correct typo in Too many tries message
    • thanks @Ana06

1.0.0

7 years ago

Added

  • Trying harder to shrink collections instead of giving up on first success of property (Eric Bischoff).
  • Added convenience classes Deflating and Tuple for more control on shrinking (Eric Bischoff).
  • Added usage examples for Deflating and Tuple shrinking strategies (Oleksii Fedorov).
  • Property#check will now use the RANTLY_COUNT environment variable to control the number of values generated (Jamie English).

Major changes

  • Array shrink was removed in favor of Tuple and Deflating.