3 ms·
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 broad
by jayunit 3y ago
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 https://github.com/dubzzz/fast-check
[1] https://medium.com/criteo-engineering/introduction-to-property-based-testing-f5236229d237 https://medium.com/criteo-engineering/introduction-to-proper...