Testing ExpressJS Web Services

Let’s say you have a web application written in NodeJS and you want to test it. What’s the best way to go about that? Fortunately, this is a common enough problem that there are modules and recipes to go along with it. Separating Express from HTTP ExpressJS contains syntactic sugar to implement a complete web…

Mocha Tests and ECMAScript 2015

Recently, I tried my hand at testing a library with Mocha and Chai. It went rather well, and I’ve just about integrated testing into my day to day life. I won’t say I’m perfect and the people I work with will attest that they need to remind me sometimes to write tests. Today my problem…