fast-check

Property based testing framework for JavaScript (like QuickCheck) written in TypeScript

MIT License

Downloads
6.1M
Stars
4.1K
Committers
68

Bot releases are hidden (Show)

fast-check - Fixes a code issue detected in `fc.object()` when using `withNullPrototype`

Published by dubzzz over 4 years ago

Fixes

  • (PR#567) Bug: Error in the code of fc.object() when using withNullPrototype
fast-check - Fix `constantFrom` not compatible with older versions of node

Published by dubzzz over 4 years ago

Fixes

  • (PR#583) Bug: constantFrom not compatible with old browsers
  • (PR#569) Clean: Prebuild to cjs extension
  • (PR#568) Doc: Broken links
  • (PR#575) Doc: Invalid code in example of the README
  • (PR#578) Doc: Schedule native timers
  • (PR#576) Example: Fibonacci example
  • (PR#577) Example: Fix decompPrime example for CodeSandbox
  • (PR#581) Example: Fix wrong usages of userEvent.type
  • (PR#579) Example: Race conditions with timers
fast-check - Add ability to customize reported errors

Published by dubzzz over 4 years ago

Features

  • (PR#622) Add the ability to provide a custom reporter
  • (PR#623) Report the configuration, that has been used, in RunDetails
  • (PR#621) Expose fc.defaultReportMessage
  • (PR#607) Better typings for fc.object and fc.dictionnary ⚠️
  • (PR#600) Better typings for RunDetails ⚠️
  • (PR#604) Introduce a report method on the scheduler
  • (PR#588) Easier replay of failing scheduler

Fixes

  • (PR#609) Clean: Generated typings where causing the doc generation to crash
  • (PR#608) Doc: Fix markdown section
  • (PR#602) Test: Check compatibility with node 12.x and >= 12.18
  • (PR#599) Doc: Document how to use fast-check in web using pika
  • (PR#596) Clean: Clean examples based on getByRole
  • (PR#585) Doc: Update README with Credits section
  • (PR#594) Clean: Add missing "private": true on package.json used for tests
  • (PR#592) Clean: Update travis configuration to use Node 14
  • (PR#587) Test: Check package can be properly imported
  • (PR#586) Clean: Rename build scripts to cjs

Features

  • (PR#493) Automatically wrap tasks using an act function in fc.scheduler if provided
  • (PR#492) Also return the sequence task in fc.scheduleSequence
  • (PR#489) Allow looser types for beforeEach and afterEach, more accurate and stricter types ⚠️

Fixes

  • (PR#509) Bug: letrec crashed when asking to generate __proto__
  • (PR#510) Bug: letrec crashed when builder instantiates an object having __proto__ set to null
  • (PR#503) Doc: Note on expect or assert
fast-check - Reduce bundle size

Published by dubzzz over 4 years ago

Fixes

  • (PR#494) Clean: Remove tsbuildinfo files from the bundle
  • (PR#495) Clean: Remove unneeded @param in JSDoc of property and tuple
fast-check - Built-in support for race condition detection

Published by dubzzz over 4 years ago

Features

  • (PR#479) Add fc.scheduler arbitrary

Fixes

  • (PR#487) Doc: Clean autocomplete example
fast-check - Multiple new arbitraries: date, ipv4 extended, uuid, mixed case and many settings

Published by dubzzz almost 5 years ago

Features

  • (PR#420) Add fc.date arbitrary
  • (PR#427) Add fc.mixedCase arbitrary
  • (PR#393) Support all the range of valid ipV4 with fc.ipV4Extended arbitrary
  • (PR#401) Add ability to customize the null value of fc.option
  • (PR#411) Add fc.uuid arbitrary
  • (PR#433) Add fc.uuidV to tackle specific version of uuid
  • (PR#400) Add withObjectString flag in fc.object/fc.anything

Fixes

  • (PR#425) Bug: skipAllAfterTimeLimit throws when it passes time limit
  • (PR#409) Bug: Web authority should not produce port outside 0-65535
  • (PR#418) Bug: Infinite loop when path is one level deep and all runs succeed
  • (PR#430) Bug: No timeout expiration on node blocks exit
  • (PR#396) Clean: Update dependencies and dev dependencies
  • (PR#432) Clean: Prepare code for ts3.7-pr33401
  • (PR#410) Contrib: Document how to add new arbitraries in fast-check
  • (PR#408) Doc: Usage in conjonction with faker
  • (PR#412) Doc: Diff format in shrinking example
  • (PR#414) Doc: Update ts-jest config (tsConfigFile -> tsConfig)
  • (PR#417) Doc: Add section "Migrate from jsverify to fast-check"
  • (PR#434) Doc: Add table of contents on top of the documentation
  • (PR#397) Test: Reduce flakyness of tests on letrec
  • (PR#422) Test: Rework unit tests of DateArbitrary
fast-check - Support for global parameters with `fc.configureGlobal(parameters)`

Published by dubzzz almost 5 years ago

Features

  • (PR#439) Support for global parameters

Fixes

  • (PR#438) Clean: Add sideEffects flag into package.json
  • (PR#440) Clean: Migrate from tslint to eslint - (PR#447), (PR#451)
  • (PR#443) Doc: Export missing WeightedArbitrary
  • (PR#444) Doc: Add missing documentation for fc.frequency
  • (PR#446) Doc: Add code contributors widget directly in README.md
  • (PR#436) Typings: Better typings for fc.anything-like arbitraries
fast-check - Typings regression for `fc.object`

Published by dubzzz almost 5 years ago

Fixes

  • Bug: Typing regression on fc.object

Features

  • (PR#428) Implement interruptAfterTimeLimit
  • (PR#463) Adapt and expose IRawProperty, IProperty and IAsyncProperty types

Fixes

  • (PR#455) Clean: Add watch mode test and build scripts
  • (PR#456) Clean: Bump all dev dependencies
  • (PR#457) Clean: Use ts-jest/utils mocked instead of our own mockModule
  • (PR#449) Clean: Moving away from npm, switching to yarn
  • (PR#471) Clean: Minor fixes related to internal typings
  • (PR#473) Clean: Remove unused variables in units
  • (PR#474) Clean: Enable no-unused-vars eslint rule
  • (PR#465) Doc: Examples served by CodeSandbox and improvement of the examples - (PR#466), (PR#467), (PR#469), (PR#470), (PR#472), (PR#476)
  • (PR#475) Test: Do not run travis outside of master and PRs for master
  • (PR#464) Test: Add tests for typings based on tsd
  • (PR#481) Test: Configure CodeSandbox CI
fast-check - skipAllAfterTimeLimit throws when it passes time limit

Published by dubzzz about 5 years ago

Fixes

  • (PR#425) skipAllAfterTimeLimit throws when it passes time limit
fast-check - skipAllAfterTimeLimit throws when it passes time limit

Published by dubzzz about 5 years ago

Fixes

  • (PR#425) skipAllAfterTimeLimit throws when it passes time limit
fast-check - Web authority ports should be within 0-65535

Published by dubzzz about 5 years ago

Fixes

  • (PR#409) Web authority should not produce port outside 0-65535
fast-check - Web authority ports should be within 0-65535

Published by dubzzz about 5 years ago

Fixes

  • (PR#409) Web authority should not produce port outside 0-65535
fast-check - Web authority ports should be within 0-65535

Published by dubzzz about 5 years ago

Fixes

  • (PR#409) Web authority should not produce port outside 0-65535
fast-check - Infinite loop on replays with one-level-deep path

Published by dubzzz about 5 years ago

Fixes

  • (PR#418) Infinite loop when path is one level deep and all runs succeed
fast-check - Infinite loop on replays with one-level-deep path

Published by dubzzz about 5 years ago

Fixes

  • (PR#418) Infinite loop when path is one level deep and all runs succeed
fast-check - Infinite loop on replays with one-level-deep path

Published by dubzzz about 5 years ago

Fixes

  • (PR#418) Infinite loop when path is one level deep and all runs succeed
fast-check - Infinite loop on replays with one-level-deep path

Published by dubzzz about 5 years ago

Fixes

  • (PR#418) Infinite loop when path is one level deep and all runs succeed
fast-check - Infinite loop on replays with one-level-deep path

Published by dubzzz about 5 years ago

Fixes

  • (PR#418) Infinite loop when path is one level deep and all runs succeed