All notable changes to rantly will be documented in this file. The curated log begins at changes to version 0.4.0.
This project adheres to Semantic Versioning.
Master (unreleased)
2.0.0 - 2019-01-08
- Add support for float ranges to
range
generator- Issue #60
- thanks Trevor Brown
range
generator returnsnil
for invalid rangeschoose
generator returnsnil
when no values are given- thanks Ana María Martínez Gómez
- 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 Ana María Martínez Gómez
- Improve failure/success messages
- thanks Ana María Martínez Gómez
1.2.0 - 2018-08-29
- Allow to generate floats using Gaussian distribution
- Issue #29
- thanks Ana María Martínez Gómez and Víctor Gallego
NoMethodError
- undefined methodretry?
- when a test usingdict
fails
- Correct typo in Too many tries message
- thanks Ana María Martínez Gómez
- Include failed example and number of example run in failure message.
- Improve run-time for generation of strings.
1.0.0 - 2016-07-06
- Trying harder to shrink collections instead of giving up on first success of property.
- thanks Eric Bischoff
- Added convenience classes Deflating and Tuple for more control on shrinking.
- thanks Eric Bischoff
- Added usage examples for Deflating and Tuple shrinking strategies.
- thanks Oleksii Fedorov
Property#check
will now use theRANTLY_COUNT
environment variable to control the number of values generated.- thanks Jamie English
- Array shrink was removed in favor of Tuple and Deflating.
0.3.2 - 2015-09-16
- Ability to shrink an object (
Integer
,String
,Array
,Hash
). This is useful in finding the minimum value that fails a property check condition.
- Improved RSpec and Minitest test extensions.
- Improved readability and execution of test suite.
- Updates to documentation.