Skip to content

Releases: dubzzz/fast-check

ESM version of the package published to npm, arbitraries to generate functions and more settings to be able to tweak the execution

11 Oct 22:32
Compare
Choose a tag to compare

Features

  • (PR#201) Add compareBooleanFunc, compareFunc and func arbitraries
  • (PR#200) Parameter randomType to choose the random generator
  • (PR#202) Property hooks for beforeEach and afterEach
  • (PR#196) Publish both cjs and esm versions of the package

Fixes

  • (PR#175) Characters must be biased by default
  • (PR#184) Update to latest lorem-ipsum

Property based test state machine: UI, automata / Addition of `subarray` and `shuffledSubarray` arbitraries

11 Oct 22:32
Compare
Choose a tag to compare

Features

  • (PR#177) Add subarray and shuffledSubarray arbitraries
  • (PR#157) Model based testing and commands
  • (PR#158) Characters shrink towards printable ascii

Fixes

  • (PR#170) Fix: fullUnicode and fullUnicodeString were failing on old releases of node
  • (PR#178) Doc: Update typedoc
  • (PR#161) Doc: Suggest bundle.run instead of jsdelivr

Suggest custom test values with examples

21 Jul 21:44
Compare
Choose a tag to compare

Features

  • (PR#148) Manually add concrete examples to test

Fixes

  • (PR#153) Edit npm project description
  • (PR#152) Add minimal supported node engine version in package.json
  • (PR#149) Bump npm dependencies

Filter invalid values directly in predicates using `fc.pre`

11 Oct 22:31
Compare
Choose a tag to compare

Features

  • (PR#140) Make seed and path copy pasteable
  • (PR#138) Remove core-js, no more global namespace pollution
  • (PR#118) Enable preconditions in predicate

Reduce package footprint and less restrictive API for `oneof`/`frequency`

11 Oct 22:30
Compare
Choose a tag to compare

Fixes

  • (PR#135) Do not force explicitly one parameter in oneof/frequency
  • (PR#134) Doc: Typos in README
  • (PR#132) Add missing exports for jsonObject and unicodeJsonObject
  • (PR#131) Reduce package size
  • (PR#130) Doc: Examples for generation of recursive structures

Less restrictive API for `constantFrom`

11 Oct 22:30
Compare
Choose a tag to compare

Fixes

  • (PR#123) Do not force explicitly one parameter in constantFrom

Readme update

11 Oct 22:29
Compare
Choose a tag to compare

Fixes

  • (b80b4f92) Doc: Model based testing example
  • (cc4f4f4f) Doc: Getting started tutorial

Built-in chaining of arbitraries

11 Oct 22:29
Compare
Choose a tag to compare

Features

  • (PR#103) Use the output of arbitraries to produce other ones with .chain(...)
  • (PR#114) Add shrink for fc.lorem
  • (PR#116) Throw exception in case of bad path when trying to replay a failure

Fixes:

  • (PR#117) Doc: Fully revamp the documentation
  • (a5dcd71c) Doc: New logo

Better performance for biased arbitraries (=default)

11 Oct 22:28
Compare
Choose a tag to compare

Fixes

  • (PR#107) Fix: Performance issue when using biased arbitraries
  • (743d7619) Fix: Bump to the latest version of pure-rand

Export missing `fc.stringOf`

11 Oct 22:28
Compare
Choose a tag to compare

Fixes

  • (63915033) Fix: Export missing fc.stringOf