I’m writing this blog post to explain why I no longer consider assertion testing through projects like should.js, expect.js or chai ideal. For the uninitiated, these modules allow you to write assertions in a very clear english-like way: // my test file expect(number).to.be.below(5); someAssertion().should.be.ok; But the most attractive quality is that they provide helper functions to make a lot o
![The modular approach to testing | Guillermo Rauch's Devthought](https://cdn-ak-scissors.b.st-hatena.com/image/square/057092910b7d227ab34b6845cbd549c5949eee92/height=288;version=1;width=512/https%3A%2F%2Fi.cloudup.com%2FiHVFpBmVqpo.jpg)