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 - Declare the proper homepage for the package

Published by dubzzz about 2 years ago

[Code][Diff]

Fixes

  • (PR#3041) Bug: Fix wrongly defined homepages on packages
fast-check - Basic setup for monorepo

Published by dubzzz over 2 years ago

Basic setup for monorepo
[Code][Diff]

Fixes

  • (PR#2986) CI: Switch to Yarn 3 and simple monorepo
  • (PR#2987) CI: Simplify test-bundle script following merge of Yarn 3
  • (PR#2988) CI: Switch to yarn workspace * instead of cd packages/*
  • (PR#2990) CI: Replace npx by yarn dlx
  • (PR#2991) CI: Setup prettier at the root of the project
  • (PR#2992) CI: Drop unneeded benchmarks
  • (PR#2993) CI: Fix script not using the right path
  • (PR#2994) CI: Fix gh-pages publication follwoing move to monorepo
  • (PR#2995) CI: Clean-up .gitignore
  • (PR#2996) CI: Move eslint at top level
  • (PR#2989) CI: Make fast-check self reference itself as a dev dependency
  • (PR#2997) CI: Define top-level script to simplify build and test
  • (PR#2999) CI: Setup for yarn version check
  • (PR#3001) CI: Make use of yarn version for generate changelog
  • (PR#3003) CI: Fix usages of yarn version when generating changelog
  • (PR#3005) CI: Move anything package related next to its package
  • (PR#3008) CI: Check the need for dedupe for each run
  • (PR#3010) CI: Cross-jobs caching for yarn
  • (PR#3011) CI: Enhance and document version related rules for PRs
  • (PR#3014) CI: Run tests against trimmed versions of the packages
  • (PR#3015) CI: Make fast-check's tests rely on its own build
  • (PR#3017) CI: Faster workflow of GH Actions
  • (PR#3023) CI: Factorize test jobs via matrix of GH Actions
  • (PR#3024) CI: Drop es-check related jobs
  • (PR#3032) CI: Handle monorepo in generate changelog
  • (PR#3034) CI: Better links in PR generating changelog
  • (PR#3037) CI: Adapt build script to publish any package
  • (PR#3039) CI: Also commit .yarn/versions with changelogs
  • (PR#3000) Doc: Default to readme from packages/fast-check
  • (PR#3006) Doc: Start following all-contributors specification
  • (PR#3007) Doc: Rework the "bug discovered with fast-check" section of the README
  • (PR#3031) Doc: Add missing README files on bundle related tests
  • (PR#2982) Move: Move example/ to examples/
  • (PR#2983) Move: Move part of test/ into packages/test-bundle-*
  • (PR#2984) Move: Move part of source code into packages/fast-check
  • (PR#2977) Refactor: Simplify logic to read constraints for commands
  • (PR#3016) Test: Check SHA1 of produced bundle in E2E tests
fast-check - Initial release of `@fast-check/jest`

Published by dubzzz over 2 years ago

fast-check - Initial release of `@fast-check/ava`

Published by dubzzz over 2 years ago

fast-check - Initial release of `@fast-check/packaged`

Published by dubzzz over 2 years ago

fast-check -

Published by dubzzz over 2 years ago

fast-check -

Published by dubzzz over 2 years ago

fast-check - Add a way to wait only for minimal stuff with `fc.scheduler`

Published by dubzzz over 2 years ago

[Code][Diff]

Features

  • (PR#2807) Add ability to wait until the end of a given task from fc.scheduler

Fixes

  • (PR#2826) Bug: Narrow return type of readConfigureGlobal
  • (PR#2819) Doc: Corrected uniqueArray signatures
  • (PR#2813) Doc: Add examples based on supertest
fast-check - Add missing "types" to "exports" for all dependencies

Published by dubzzz over 2 years ago

fast-check - Add missing "types" to "exports

Published by dubzzz over 2 years ago

fast-check - v2.23.0

Published by dubzzz over 2 years ago

[Code][Diff]

Features

  • (PR#2391) Automatically shrink user defined examples
  • (PR#2393) Support shrink on examples with unshrinkable parts
  • (PR#2395) Better shrinker for arrays requested minLength
  • (PR#2423) Make fixed sized arrays as biased as tuples

Fixes

  • (PR#2371) Refactor: Declare API and converters for the next gen property
  • (PR#2372) Refactor: Migrate runners to rely on next gen properties
  • (PR#2373) Refactor: Migrate UnbiasedProperty to next gen property
  • (PR#2374) Refactor: Migrate IgnoreEqualValuesProperty to next gen property
  • (PR#2375) Refactor: Migrate TimeoutProperty to next gen property
  • (PR#2376) Refactor: Migrate SkipAfterProperty to next gen property
  • (PR#2387) Refactor: Produce next gen properties via decorateProperty
  • (PR#2388) Refactor: Migrate property builders to produce next gen
  • (PR#2377) Typo: Typo in error thrown when invalid arguments passed to frequency
  • (PR#2394) Bug: Properly re-wrap values on shrink in properties
  • (PR#2399) Test: Ensure correct min/max for float32/64Arrays in tests
  • (PR#2402) Test: Reduce the maximal minLength requested in tests
  • (PR#2415) Refactor: Update the way we use flags for mixedCase
  • (PR#2416) Refactor: Do not favor numeric values over others in json arbitraries
  • (PR#2403) Test: Better asserts of shrinks by going deeper in path
  • (PR#2417) Bug: Unmapper function of hexa was not unmapping properly
  • (PR#2421) Bug: Accept already cloneable values as output of .map
  • (PR#2424) CI: Run tests with verbose flag enabled
  • (PR#2426) Doc: Document shrink of user definable values
  • (PR#2427) Test: Stop flakiness on legacy tests of float/double
fast-check - New arbitrary to generate falsy values

Published by dubzzz over 4 years ago

[Code][Diff]

Features

  • (PR#627) New arbitrary to generate falsy values
  • (PR#719) Add withBigInt flag for fc.falsy
  • (PR#718) Add withBigInt flag for fc.anything

Fixes

  • (PR#632) Doc: Script generating the documentation compatible with Windows
  • (PR#652) Doc: Add note on chain shrink issues
  • (PR#658) Doc: Document how fast-check works under-the-hood
  • (PR#664) Doc: Add a compatibility section into the README
  • (PR#665) Doc: Fix some typos
  • (PR#700) Doc: Remove warnings related to badly set @param for ts-docs
  • (PR#729) Doc: Add links to commit diff into the CHANGELOG
  • (PR#630) Test: Enhance stability of e2e test for AsyncScheduler
  • (PR#636) Test: Ensure we can generate the documentation for each PR
  • (PR#637) Test: Add missing parameters in QualifiedParameters tests
  • (PR#661) Test: Compilation against old releases of TypeScript
  • (PR#720) Test: Remove useless CI stage (HEAD)
fast-check - Scheduler was not putting the metadata into the generated report

Published by dubzzz over 4 years ago

Fixes

  • (PR#625) Bug: Scheduler forgets to pass the metadata when calling report
fast-check - First try to support ESM and CJS together

Published by dubzzz over 4 years ago

fast-check - Better random values and ability to shrink very large data-structures

Published by dubzzz over 4 years ago

Features

  • (PR#534) Better independance between generated values during a test suite ⚠️
  • (PR#536) Exclude internationalized-like domains ⚠️ - (PR#538)
  • (PR#537) Add xoroshiro128plsu in the list of random generators
  • (PR#539) Add js extension onto esm files
  • (PR#540) Add metadata on the generated sources (see fc.__version)

Fixes

  • (PR#505) Bug: Fix stack overflow when shrinking large arrays
  • (PR#541) Bug: Fix stack overflow when shrinking large arrays of commands
  • (PR#511) Doc: Add Jest example in the README
  • (PR#542) Doc: Example with function arbitrary
  • (PR#518) Doc: Fix typos in Arbitraries.md
  • (PR#523) Doc: Fix typos in Arbitraries.md
  • (PR#533) Doc: Fix typos in Arbitraries.md
  • (PR#529) Doc: Tip explaining how to avoid timeouts
  • (PR#519) Clean: Add missing files in *ignore
  • (PR#535) Clean: Better logs for GenericArbitraryHelper
fast-check - Fix broken bundle

Published by dubzzz over 4 years ago

fast-check - Remove unused files from the final bundle

Published by dubzzz over 4 years ago

Fixes

  • (PR#550) Clean: Switch from npmignore to files to whitelist bundled files instead of blacklisting them
  • (PR#549) Clean: Various typos in letrec unit-test
  • (PR#551) Clean: CI was not considered as failed when examples failed
fast-check - Better typings for `filter` and `oneof` plus support for null prototypes

Published by dubzzz over 4 years ago

Features

  • (PR#548) Stringify should distinguish {} from Object.create(null)
  • (PR#552) Add ability to generate objects without prototype
  • (PR#555) Support type guards while filtering ⚠️
  • (PR#556) Better typings for oneof and frequency ⚠️

Fixes

  • (PR#554) Doc: Add an example on atomic Counter for race conditions feature
  • (PR#557) Doc: Add example based on decomposition in prime numbers
fast-check - Model based testing and race condition detection

Published by dubzzz over 4 years ago

Features

  • (PR#491) Add ability to run commands in a scheduled context

Fixes

  • (PR#565) Doc: Broken documentation build
  • (PR#566) Doc: Document how race conditions can be detected