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 - 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
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 - Easier recursive data-structures

Published by dubzzz over 5 years ago

Features

  • (PR#377) Add fc.letrec arbitrary
  • (PR#378) Add fc.memo arbitrary
  • (PR#385) Add caching for withBias of fc.letrec arbitrary
  • (PR#370) Add minimum and maximum validation to integer and nat
  • (PR#382) Take fc.cloneMethod into account for commands
  • (PR#372) Stringify Date as valid JavaScript
  • (PR#371) Stringify Symbol as valid JavaScript

Fixes

  • (PR#375) Clean: Bump TypeScript to 3.5
  • (PR#384) Clean: Remove circular dependency in WebArbitrary file
  • (PR#389) Test: Check that fc.memo and fc.letrec are compatible with node 0.12
  • (PR#376) Test: Fix broken e2e tests
  • (PR#385) Test: Mark warnings as errors in rollup config
  • (PR#388) Type: Fix type inferrence bug in modelRun
  • (PR#379) Refactoring: Re-implement fc.object with fc.memo
fast-check - Documentation updates

Published by dubzzz over 5 years ago

Fixes

  • (PR#363) Clean: Bump dev dependencies
  • (PR#366) Clean: Incremental build
  • (PR#362) Clean: Test against node 12
  • (PR#361) Doc: Clarify replay of commands
  • (PR#368) Doc: Direct link to genrated documentation
  • (PR#364) Doc: Extra badges in README
  • (PR#358) Doc: Fix various typos
  • (PR#355) Test: Add no regression snapshot tests
fast-check - Add auto-skip after time limit option for runners

Published by dubzzz over 5 years ago

Features

  • (PR#352) Ability to auto skip runs after time limit
  • (PR#348) Expose fc.stringify in the API

Fixes

  • (PR#354) Doc: Add examples of issues discovered using fast-check
  • (PR#353) Doc: Better logo
  • (PR#351) Size: Add dependency to tslib - should reduce size of the bundle
  • (PR#349) Test: No regression snapshot tests
fast-check - New generated documentation and new arbitraries

Published by dubzzz over 5 years ago

Features

  • (PR#339) Add fc.ipV4() and fc.ipV6() arbitraries
  • (PR#340) Add fc.mapToConstant() arbitrary
  • (PR#344) Add fc.webUrl() and other web urls related arbitraries
  • (PR#345) Add fc.emailAddress() arbitrary
  • (PR#343) Generate the API documentation with docsify

Features

  • (PR#336) Remove dependency to lorem-ipsum
  • (PR#337) fc.frequency() should be compatible with legacy node
  • (PR#338) Add parameter to customize size of fc.object() and fc.anything()
fast-check - Lighter bundle

Published by dubzzz over 5 years ago

Fixes

  • (PR#327) Doc: Ability to copy-paste snippets in HandsOnPropertyBased.md
  • (PR#334) Size: Reduce the size of the bundle - Potential issue if your code directly references TupleArbitrary<T1...>, it should be replaced by Arbitrary<[T1,...]>
fast-check - Better balance between values produced by `fc.anything()`

Published by dubzzz over 5 years ago

Features

  • (PR#325) Better balance between values produced by fc.anything()
fast-check - Replay ability for commands and new arbitraries

Published by dubzzz over 5 years ago

Features

  • (PR#321) Add new flags for fc.anything and fc.object: withBoxedValues, withSet, withMap
  • (PR#320) Better string representation of failing values
  • (PR#317) Add fc.dedup arbitrary
  • (PR#294) Replay ability for commands
  • (PR#292) Flag to stop the test as soon as it fails
  • (PR#288) Add fc.maxSafeInteger and fc.maxSafeNat arbitraries

Fixes

  • (PR#295) Bug: Not shrinking commands themselves
  • (PR#290) Bug: ExecutionStatus defined as const enum
  • (PR#298) Clean: Factorize code of Runner
  • (PR#297) Clean: Takkle issues reported by codeclimate
  • (PR#306) Doc: Add issues discovered by fast-check
  • (PR#287) Doc: Add issues discovered by fast-check
  • (PR#322) Doc: Links next to features described in Readme
  • (PR#309) Test: Factorize Jest configurations
  • (PR#307) Test: Ensure web-build is correct
  • (PR#300) Perf: No more holey array in fc.array
fast-check - Fix browser bundle

Published by dubzzz over 5 years ago

Fixes

fast-check - Fix browser bundle

Published by dubzzz over 5 years ago

Fixes

fast-check - Better shrinking of commands

Published by dubzzz over 5 years ago

Features

  • (PR#280) Better shrinking of commands
fast-check - Adapt typings for older versions of TypeScript

Published by dubzzz over 5 years ago

Fixes

  • (PR#282) Bug: Cannot find name 'bigint'
  • (PR#282) Declare umd build in package.json