Tool for code coverage in meteor?


#1

Tool for code coverage in meteor??

any help?
thanks.


#2

Check out the lmieulet:meteor-coverage package.


#3

thank you @hwillson :slight_smile:


#4

does it support codeship?? @hwillson


#5

I’m not sure, I don’t use Codeship. The README mentions it supports Travis, Circle CI, Coveralls, Codecov and Codacy. I’m sure if it’s working with all of those CI systems, then getting it to work with Codeship should be pretty straightforward (maybe?).


#6

i have tried using istanbul
in package.json i have added

“scripts”: {
“start”: “meteor run”,
“test:single”:“istanbul cover -x *.test.js _mocha – -R spec client/imports/client.test.js”
}
and tried running npm run test:single in cmd