Skip to content

Releases: dubzzz/fast-check

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

Fix shrink of async properties

01 Apr 01:03
Compare
Choose a tag to compare

Main features:

  • fix bug in shrink of async properties

Commits log:
19784dc Modify runner test in order to check shrink in async mode
cf52287 Fix bad call in async shrink method

JSON arbitraries and shrinker kill switch

01 Apr 01:02
Compare
Choose a tag to compare

Main features:

  • noShrink can remove shrink from existing arbitraries
  • more arbitraries: jsonObject and unicodeJsonObject
  • support higher number of arbitraies in tuples and properties

Commits log:
70c2094 Add noShrink on Arbitrary base class
b42e538 Add test for async/await on runner
bd0e24f Add tests for AsyncProperty
7994610 Update README.md
aff9f84 Add jsonObject and unicodeJsonObject
78380b3 Update README.md
87b1cad Update README.md
600e023 Update README.md
0ef7ff7 Update README.md
a224ee5 Factorize json settings creation
418083c Factorize json settings creation
b2fc576 Generate specs for property and asyncProperty
c91e823 Generate asyncProperty variations
3455146 Generate property variations
426255c Generate tuple variations

Code and documentation alignment

01 Apr 00:58
Compare
Choose a tag to compare

Main features:

  • align documentation with code
  • missing parts in the documentation

Commits log:
48aebbd Update README.md
eb87405 Update README.md
c2d4d68 Update README.md
04a7f61 Update README.md

Going async/await

01 Apr 00:56
Compare
Choose a tag to compare

Main features:

  • async/await properties
  • more arbitraries: frequency, anything, object, json, dictionary
  • array arbitrary accepts min and max (only default and 0 to max before this release)
  • better integration with modern tests frameworks (throw Error not strings)

Commits log:
d2e6d1e Fix e2e tests
6787cd4 Throw Error on failure (not simple string)
9f70e1f Increase number of runs of flaky test
7b842cf Add support for async/await and Promises
89f7787 Extract RunDetails construction outside of Runner
2d86acd Export random and stream to ease framework extension
e93f2bb Add array with minimal and maximal length
3992bab Remove buggy examples
fc63fe3 Add some e2e for objects
11b2ec6 Do not ignore original sources from packages
c0a6842 Assert object shrink has the same type has original
c5a8be3 Fix buggy test on anything.shrink
13a8b1b Assert shrinked value of json
073d26d Add utest on parsable json
cd10a37 Add missing convergence case for anything
ba10b9c Simplify utest 'Should generate an object'
6adf6f2 Add utests for shrink on anything/object
ce5ee30 Add DictionaryArbitrary
e423d51 Add anything, object, json arbitraries
651b7a2 Add a frequency arbitrary

First ready to use version

01 Apr 00:50
Compare
Choose a tag to compare

Main features:

  • creation of a documentation
  • more arbitraries: option, float, double, boolean
  • fc.sample and fc.statitistics

Commits log:
f86fd17 Update README.md
e75f89e Update README.md
0707181 Update README.md
bb38c3e Add option arbitrary
a7eb45c Add some tests on Stream join
a7019b2 Add some tests on Stream join
fd323bb Add boolean type arbitrary
9a3e94a Check shrink of float and double
c8bf365 Add floating point number types: float, double
a67504b Format fc.assert/fc.property in Sampler.spec.ts
e149df8 Add fc.statistics to monitor arbitraries
380e70c Fix Sampler tests not run
51d04b5 Add unit test to check run can be reproduced
dba24f6 Ease the instantiation of stubs for arbitraries
aed0e1f Move instantiation of MutableRandomGenerator into stub
f2da21a Bump the dependencies
7c7a914 Split into two test suites: test (in test/unit) and e2e (in test/e2e)
e90022d Do not count fc.* for coverage (except e2e)
e7bb7e5 Move stubs into test/stubs
c88c962 Increase allowed execution time for travis
063a332 Add a sampler in order to diagnose arbitrary issues
453482c Move Parameters and runners' helpers to utils
b884478 Rework IProperty definition
1c1a0d0 Merge branch 'master' of https://github.com/dubzzz/fast-check
2ae99b2 Update README.md
d5b9e0e Update README.md
36fad8d Update README.md
ae19c9d Update README.md
b130048 Update README.md
5d36c50 Update README.md
f3490f7 Update README.md
5202eb7 Update README.md

Missing dependencies on previous package

01 Apr 00:45
Compare
Choose a tag to compare

Fix package.json in order to take power-assert as a dependency and not a development dependency.

Commits log:
a441223 power-assert as a dependency

Missing dependencies on previous package

01 Apr 00:43
Compare
Choose a tag to compare

Fix package.json in order to take lorem-ipsum as a dependency and not a development dependency.

Commits log:
04eed81 move lorem ipsum to dependencies

Stabilization of Travis CI auto publication

01 Apr 00:40
Compare
Choose a tag to compare

Stabilization of Travis CI auto publication and modification of the targeted ecma version.

Commits log:
0256c28 set target to es5
2eda98a update travis-ci key

Setup Travis CI for automatic publish

01 Apr 00:38
Compare
Choose a tag to compare
Pre-release

Attempt to automatically publish fast-check packages from travis CI

Commits log:
3622241 Update .travis.yml