Less than a week since the last release and as promised, Yeti 0.2.27 has shipped today with code coverage support.
Yeti 0.2.27 provides first-class code coverage reporting provided by Istanbul.
Simply use Yeti with the
--coverage option. By default, Yeti will instrument your code on-the-fly and show a brief summary.
Yeti has ran 1,207,780 tests for YUI since Yeti 0.2.26 shipped 6 days ago.
I’m very excited to bring code coverage to yo/tests.
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.