Blog Archives

JavaScript coverage with Istanbul and Coveralls via Travis CI

Components used: Mocha, Istanbul, Coveralls, Travis, node coveralls, make Since then I’ve been looking for alternatives to using JS Coverage for doing coverage instrumentation. There are two main issues with it: It’s C component that needs to be (sort of

Tagged with: , , , , ,
Posted in git, github, JavaScript, nodejs, TDD

Automated JavaScript testing with Mocha and js-coverage for NodeJS

I used to extensively use Jamine and Jasmine-Node for my JavaScript testing. While jasmine is great I’ve recently moved over to Mocha for several reasons but primarily because it supports coverage reporting. Here are some basic steps to get going.

Tagged with:
Posted in JavaScript, nodejs, programming, TDD, testing