What does HackerNews think of fast-check?
Property based testing framework for JavaScript (like QuickCheck) written in TypeScript
Language:
TypeScript
#15
in
Testing
#54
in
TypeScript
Strong agree!
For JavaScript, I suggest folks check out fast-check [0] and this introduction to property-based testing that uses fast-check [1].
This is broadly useful, but one specific place I've found it helpful was to check redux reducers against generated lists of actions to find unchecked edge cases and data assumptions.
[0] https://github.com/dubzzz/fast-check [1] https://medium.com/criteo-engineering/introduction-to-proper...
The about says:
Property based testing framework for JavaScript (like QuickCheck) written in TypeScript
For JS and TypeScript, the best property testing library I've encountered so far is fast-check https://github.com/dubzzz/fast-check