An introduction to property-based testing using fast-check and JavaScript
Have you ever seen "NaN" appear on a badly coded website? Or been perplexed by a persistent bug, only to find out that it's some quirk with the language? The problem is partly to do with your assumptions and probably an incomplete test suite. I will explain what property-based testing (PBT) is and how it solves these problems.
