Hi. I’m Dave Cadwallader.

I write about javascript, front-end architecture, and being a better geek.


Automated Code Coverage Enforcement for Mocha using Grunt and Blanket

I wrote a similar post about integrating QUnit with Grunt and Blanket. This is the Mocha version.

There are several solutions for generating code coverage reports with Mocha, but most don’t integrate well with Grunt, lack an “enforcement” option, or are overly complex. Here’s a quick and easy solution that will get you up and running without the headaches.

Read on →

Mindful Disconnection

Reality check: How many times a day do you whip out your smart phone for no particular reason? If you’re like me, it’s too many times to count. Here’s how I eliminated the pointless habit, and reclaimed 30 min per day.

Read on →