Sha256: 54d38acc14260223084fe7ba2c7488e11c15101e1451544c65a1e8ef260a75ec

Contents?: true

Size: 1.84 KB

Versions: 1

Compression:

Stored size: 1.84 KB

Contents

- 0.15.0
  - Features:
    - Generators for `Date`, `Time` and `DateTime`.
      - Basic work done by @Haniyya. Thank you very much!
      - Extra functions to generate dates/times/datetimes in the future or the past.
      - Allow overriding the epoch that is used.
      - A new option in `PropCheck::Property::Configuration` to set the default epoch.
    - Generator to generate `Set`s.
    - New builtin float generators (positive, negative, nonzero, nonnegative, nonpositive). Both in 'normal' flavor and in 'real' flavor (that will never generate infinity or other special values).
    - `PropCheck::Generator#with_config` which enables the possibility to inspect and act on the current `PropCheck::Property::Configuration` while generating values.
  - Fixes:
    - Preserve backwards compatibility with Ruby 2.5 by not using infinite ranges internally (c.f. #8, thank you, @hlaf!)
    - Make a flaky test deterministic by fixing the RNG. (c.f. #9, thank you, @hlaf!)
    - Fix a crash when using a hash where not all keys are symbols. (c.f. #7, thank you, @Haniyya!)
    - Fix situations in which `PropCheck::Generators.array` would for certain config values never generate empty arrays.
- 0.14.1 - Swap `awesome_print` for `amazing_print` which is a fork of the former that is actively maintained.
- 0.14.0 - Adds `uniq: true` option to `Generators.array`. Makes `PropCheck::Property` an immutable object that returns copies that have changes whenever reconfiguring, allowing re-usable configuration.
- 0.13.0 - Adds Generator#resize
- 0.12.1 - Fixes shrinking when filtering bug.
- 0.12.0 - `PropCheck::Generators#instance`
- 0.11.0 - Improved syntax to support Ruby 2.7 and up without deprecation warnings, full support for `#where`.
- 0.10.0 - Some bugfixes, support for `#where`
- 0.8.0 - New syntax that is more explicit, passng generated values to blocks as parameters.

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prop_check-0.15.0 CHANGELOG.md