Code coverage for executable Node.js scripts

Collecting code coverage for executable scripts in Node.js is tricky. I’ve ran into this problem a handful of times at Yahoo, so I published a module that mocks stdin, stdout, and stderr and my experience using it in this post for Yahoo Engineering’s tumblr.

Published by Reid Burke

Hi, I'm @reid. I work on developer tools at Yahoo. I serve at Awakening Church with a focus on technology. I also enjoy riding motorcycles.

One reply on “Code coverage for executable Node.js scripts”

Comments are closed.