While going through the links listed here about functional programing in JavaScript, I wondered: would adding some resources related to testing be a nice thing?
If so I'd mostly focus on property based testing strategies which is a pretty functional way to test. You may talk about JavaScript libraries like fast-check, jsverify or testcheck-js.
Hello,
While going through the links listed here about functional programing in JavaScript, I wondered: would adding some resources related to testing be a nice thing?
If so I'd mostly focus on property based testing strategies which is a pretty functional way to test. You may talk about JavaScript libraries like fast-check, jsverify or testcheck-js.
What would you think of such addition?
As author and core maintainer of fast-check (one of the libraries I listed above), I wrote a generic article about property based testing in general - https://medium.com/criteo-labs/introduction-to-property-based-testing-f5236229d237 - but also resources to start quickly with fast-check - https://github.com/dubzzz/fast-check/blob/master/documentation/HandsOnPropertyBasedJs.md. This one is pretty cool too https://dev.to/meeshkan/property-based-testing-for-javascript-developers-21b2.