Skip to content

Releases: dubzzz/fast-check

Readme update

11 Oct 22:28
Compare
Choose a tag to compare

Fixes

  • (68893e99) Doc: Why should I migrate section? in README.md
  • (d779aa9e) Doc: Verbose mode explained in README.md
  • (eacc7f0e) Doc: Bug detected using property based testing and fast-check

Ability to use min and max boundaries outside of 32 bits integers for `fc.integer`

11 Oct 22:27
Compare
Choose a tag to compare

Fixes

  • (b45b90eb) Ability to use min and max boundaries outside of 32 bits integers: fc.integer(Number.MIN_SAFE_INTEGER, Number.MAX_SAFE_INTEGER)

Straight to corner cases and verbose mode

11 Oct 22:27
Compare
Choose a tag to compare

Features

  • (PR#91) Straight to corner cases by default, see unbiased option of assert to disable it
  • (PR#93) Verbose mode on failure to have the list of all failing values encountered, see verbose option of assert to enable it
  • (PR#94) Better typings for fc.record

TypeScript and JavaScript documentation of the code using TypeDoc

11 Oct 22:26
Compare
Choose a tag to compare

Features

Fixes

  • (959fb52b) Doc: Add a Tips section in the Readme
  • (0dd1e66a) Doc: Link towards the generated documentation in the Readme

Reduce risk of using an unimplemented method of Node (older releases <6)

11 Oct 22:26
Compare
Choose a tag to compare

Fixes

  • (55ff3ff) Clean: Switch to the latest ES standard to use its implementations
  • (ce75e4e) Fix: Safer polyfill for older version of node - rely on core-js

Readme update following removal of depreciated devDependencies

11 Oct 22:25
Compare
Choose a tag to compare

Fixes

  • (309a00b) Doc: Update README.md
  • (e13df27) Clean: Clean depreciated dependencies

Fix infinite loop when shrinking array having a minimal length defined

11 Oct 22:33
Compare
Choose a tag to compare

Fixes

  • (d6468dc) Fix: shrink an array with minimal length lead to infinite loop

Easier replay of failures / Faster shrinks / No recursion when shrinking

11 Oct 22:23
Compare
Choose a tag to compare

Features

  • (7dd6fdb) Add min/max parameters on fc.float and fc.double
  • (e294eed) Naming: lower camel case for settings keys
  • (6f35cdd) Check inputs provided to fc.property for easier troubleshoot
  • (b960938) Naming: rename generic_tuple into genericTuple
  • (d1dde51) Faster shrink of arrays (and must of others because built on top of arrays x integers)
  • (fc57174) Faster shrink of integers
  • (be038f0) Replay a failure by setting seed and path
  • (d25d233) Feature counterexamplePath in case of failure
  • (c7a1508) Update error message content in case of failure in fc.assert
  • (eb0d3c2) Better rendering of strings
  • (1e0a73d) Switch to pure-rand library to handle the random number generation

Fixes

  • (56f1e03) Clean: Bump versions of dependencies
  • (d0027d7) Clean: Do not throw raw strings but Error
  • (6af9e6b) Clean: Remove power-assert from devDependencies
  • (fe44db5) Fix: Avoid recursion during shrinking
  • (e3ecc3c) Fix: Bad number of shrinks in case of failure (offset by one)
  • (79c08f7) Fix: Export dictionary arbitrary

v0.0.12 version 2

01 Apr 01:17
Compare
Choose a tag to compare

Commits log:
79fadb2 Update README.md
6af434f Add 0 and -0 to possible outputs of anything/object

Arbitraries for constants and record creation

01 Apr 01:14
Compare
Choose a tag to compare

Main features:

  • more arbitraries: constantFrom and record

Commit log:
0ed31cc Add with_deleted_keys setting to settings example
18f7546 Add settings combination example
9de313b Fix knight example
344cc89 Typos in test name
6be205e Bump versions in packages.json
6167172 Add e2e test for record
4db0087 Update README.md
d447668 Revamp knight example using fc.record
fc9d0d7 Revamp e2e test Shadows.spec using fc.record
786e16e Redefine default values of ObjectArbitrary
a055e7f Documentation record
a3ed2b6 Documentation constantFrom
036cd2f Documentation noShrink
0ee3a03 Link towards jsDelivr
8984e78 Add with_deleted_keys option for record
cc2276b Add e2e test for record
850158b Add an arbitrary able to generate records
547b070 Add Stream.getNthOrLast
9fca382 Fix wrongly designed constantFrom test
f817c30 Fix typo
262b809 Add the ability to select one of the constants using fc.constantFrom
6db53f2 Exclude example/ from npm package
830669c Fix travis CI build
dac81ae Add e2e tests to check utf16 validity
30f4d6a Try to fix travis build