IntroductionGenerative testing is a widespread approach in the functional world, mainly due to the popularity of Haskell’s QuickCheck and Clojure’s QuickCheck implementation test.check. Traditional unit tests enable us to verify assumptions for a given function. This approach, also known as example based testing, is based on manually defined inputs and expected outputs. In other words a developer
![Generative Testing in JavaScript](https://cdn-ak-scissors.b.st-hatena.com/image/square/27720e7a58b5197a8a41c003ca8fca2864a57ee2/height=288;version=1;width=512/https%3A%2F%2Fmiro.medium.com%2Fv2%2Fresize%3Afit%3A1200%2F1%2AIHY3XfFUd8GaviqY0GhO_A.png)