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 - Interrupt running tasks when `interruptAfterTimeLimit` exceeded

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3507) Interrupt predicates when interruptAfterTimeLimit
  • (PR#3508) Mark interrupted runs without any success as failures
fast-check - Terminate workers earlier if they are not used anymore

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3467) Terminate workers if property timeout-ed

Fixes

  • (PR#3445) Bug: Unable to import in ESM mode
  • (PR#3473) Funding: Re-order links in funding section
fast-check - Add support for Node 18

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3421) Bug: Switch from descriptors to descriptor for Node 18
  • (PR#3473) Funding: Re-order links in funding section
fast-check - Update funding section in package.json

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3473) Funding: Re-order links in funding section
fast-check - Add worker-based runner able to stop synchronous code

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3444) Add basic worker based runner

Fixes

  • (PR#3471) CI: Add missing peerDependency for worker-based
  • (PR#3473) Funding: Re-order links in funding section
  • (PR#3433) Refactor: Divide code into multiple files
  • (PR#3443) Refactor: Take jest and fc as input for main internals
fast-check - Fix broken links in README

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3397) Doc: Fix links in README
  • (PR#3473) Funding: Re-order links in funding section
fast-check - Update funding section in package.json

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3473) Funding: Re-order links in funding section
fast-check - Better handling of timeout with beforeEach and afterEach

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3464) No timeout for beforeEach or afterEach

Fixes

  • (PR#3428) Bug: Avoid stack overflow during shrinking of tuples
  • (PR#3432) Bug: Avoid stack overflow during shrinking of arrays
  • (PR#3354) CI: Ignore version bump checks on publish
  • (PR#3379) CI: Fix configuration for rollup esm tests
  • (PR#3394) CI: Limit scope of "All ...bump declared"
  • (PR#3393) CI: Run tests against Node 18.x
  • (PR#3446) CI: Drop circular deps for dev topo builds
  • (PR#3417) Clean: Drop v2 to v3 codemods from the repository
  • (PR#3351) Doc: Update changelogs following backports
  • (PR#3458) Doc: Document how to use context in examples
  • (PR#3476) Doc: Revamp sponsoring section to show GitHub Sponsors
  • (PR#3473) Funding: Re-order links in funding section
  • (PR#3427) Refactor: Expose shrinker of tuples internally
  • (PR#3468) Script: Ensure we don't release workspace-based packages
fast-check - Properly define types for TypeScript

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3385) Bug: Fix types not being properly exported for ESM
fast-check - Properly define types for TypeScript

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3388) Bug: Fix types not being properly exported for ESM
fast-check - Lower constraints on external dependencies

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3377) Dependencies: Relax constraint on @npmcli/arborist
fast-check - First stable release of `@fast-check/expect-type`

Published by dubzzz almost 2 years ago

[Code]

Make sure your types are the ones you expect (similar to tsd)

fast-check - Properly define types for TypeScript

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3387) Bug: Fix types not being properly exported for ESM
fast-check - Introduce new `it.prop` and `test.prop` APIs

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3339) Add new it.prop and related
  • (PR#3366) Add support for record-based it.prop

Fixes

  • (PR#3383) Bug: Fix types not being properly exported for ESM
  • (PR#3352) Doc: Add missing 'Typing' on PRs in changelog
  • (PR#3389) Doc: Adapt documentation for new API based on it/test
fast-check - Better typings for `{it,test}Prop`

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3349) Wrongly typed itProp when receiving examples

Fixes

  • (PR#3345) Doc: Fix dead link in readme
fast-check - Add GitHub Sponsors link

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3316) Funding: Add link to GitHub sponsors in funding
fast-check - Faster computation of diffs when filters apply

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3318) Do not recompute ignore globals for attributes

Fixes

  • (PR#3316) Funding: Add link to GitHub sponsors in funding
  • (PR#3317) Performance: Faster diff tracking with pre-filtering of uneligible
fast-check - Add GitHub Sponsors link

Published by dubzzz almost 2 years ago

[Code][Diff]

Fixes

  • (PR#3316) Funding: Add link to GitHub sponsors in funding
fast-check - Support for new `--seed` feature of Jest

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3332) Take seed coming from Jest whenever provided

Fixes

  • (PR#3316) Funding: Add link to GitHub sponsors in funding
  • (PR#3333) Doc: Add new recommendations around Jest and --show-seed
  • (PR#3315) Test: Internalize bundle checks for jest package
fast-check - Expose `webPath` arbitrary

Published by dubzzz almost 2 years ago

[Code][Diff]

Features

  • (PR#3299) Explicitly declare typings for constraints on date
  • (PR#3300) Expose an url path builder called webPath

Fixes

  • (PR#3328) CI: Drop netlify related code and "please " actions
  • (PR#3298) Doc: Document default values in the JSDoc
  • (PR#3316) Funding: Add link to GitHub sponsors in funding
  • (PR#3301) Test: Poisoning checks compatible with watch mode
  • (PR#3330) Test: Make sure poisoning spec never forget one global