Skip to content

Releases: dubzzz/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

Bundled for web-browsers and node

01 Apr 01:11
Compare
Choose a tag to compare

Main features:

  • bundle for web-browsers
  • check compatibility with oldest node versions
  • code examples in the source code
  • fix unicode character generators (building half of a character)
  • minimal length parameter on all strings arbitraries
  • more arbitraries: set, char16bits, fullUnicode
  • target es3 in order to support oldest versions of node
  • timeout parameter on asychronous properties

2b12d0f Fixes Sample, Statistics and Runner generate one extra value
1467a7c Update README.md
f6323ea Add 'npm run webbuild' command
ca2ac86 ObjectArbitrary must not suggest the object itself in shrink
a47b82c Add tests for set filter builder
f4959b8 Increase timeout for mocha (node 6 takes too long)
0bb7682 Simplify array arbitrary shrinking implementation
e6934de Remove unnecessary imports in Set tests
6e48592 Add set arbitrary
dab4a73 Fix char16bits test
75d10c1 Add back 16 bits chars generators
6522b9d Fix Travis CI build
3d71bf2 UniformDistribution should avoid while true loop
b5fc667 UniformDistribution should avoid recursion
2bef74f Update README.md
4277d2a Add arbitrary for full unicode
89e6fb6 Update README.md
bb5ff9a Remove surrogate pairs characters from generated unicode
8832a96 Fix typo
1653ce8 Update README.md
e6007a1 Do not assess compatibility with node 0.10
67989cd Fix unknown --require flag on oldest node
487ce2e Revert "Revert "Add basic check that the code works on 0.10, 0.12""
9e5a2c5 Revert "Add basic check that the code works on 0.10, 0.12"
57ede1c Add basic check that the code works on 0.10, 0.12
c564b6b Try nvm commands in travis
6e3408b Remove bash debug option from travis
2e3cdf9 Change line endings
3232fb2 Update .travis.yml
671c0b3 Change bash to sh for example setup
3cbc8cb Try to fix examples on travis
728f68d Add timeout tests for never ending tasks
5b2677e Update timeout exception message
6684b05 Add timeout option in check and runner for async properties
5b8fc74 Add TimeoutProperty helper
e1707cb Remove node 4 from travis
434977a Run examples as additional tests (in travis)
aa42a84 Remove 0.10 and 0.12 from travis
7aed254 Update string documentation to add min/max signature
e7f39bb Add minLength into all string arbitraries
7c60dd0 Compile towards es3 and add node versions to test on
70d2925 Put units of example contains into units.js
9cc05bf Update .travis.yml
bef3348 Run examples against current version
664f422 Update local-fast-check.sh
c3eeb1c Create local-fast-check.sh
5873d60 Add npm run test for example
6d1bfb3 Add example: shadows of knight
08766d0 Add example: contains
ed6587e Browserify as window.fastcheck