ember-cli-code-coverage mocha showing 0% coverage when there are tests

Few well integrated tools to establish accurate code coverage for ember-cli apps exist. (something like Istanbul for everything in app/) We ended up avoiding ember-cli-blanket and writing a rudimentary istanbul 78 integration with testem. Basically, it calls the istanbul cli against the single JS file output by ember build. Imprecise but consistent. We’ve used in on iDealeCasinos multiple times and it worked like a charm. Might be wise to give it a shot!

Leave a Comment