Skip to content

Releases: rantly-rb/rantly

3.0.0

14 Oct 02:50
944788a
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.0.0...3.0.0

Version 2.0.0

08 Jan 16:41
1cd12bc
Compare
Choose a tag to compare

New features

Bug fixes

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

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.
  • Improve failure/success messages

Version 1.2.0

29 Aug 17:17
4ec0718
Compare
Choose a tag to compare

New features

  • Allow to generate floats using Gaussian distribution

Bug fixes

  • NoMethodError - undefined method retry? - when a test using dict fails

Changes

  • Correct typo in Too many tries message

Version 1.0.0

06 Jul 18:34
Compare
Choose a tag to compare

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.