GeistHaus
log in · sign up

GitHub - jrsinclair/intro-to-property-based-testing: Code samples to accompany a tutorial on property-based testing with fast-check

github.com

Code samples to accompany a tutorial on property-based testing with fast-check - jrsinclair/intro-to-property-based-testing

1 page links to this URL
How to get started with property-based testing in JavaScript using fast-check

Property-based testing helps us write better tests, with less code, and greater coverage. This leads to more confidence in our code, and fewer bugs in our applications. But, as always, there’s a price. Property tests take more effort to write, and they take longer to run. Still, I’m convinced that the trade-off is worth it. In this article, we’ll run through an example of how to write property tests using fast-check.

1 inbound link website en