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.
Code coverage for executable Node.js scripts
Sign up for my newsletter.
Get occasional updates directly from Reid.
By subscribing, you agree with my Privacy Policy. You can also subscribe via RSS.