mjhm / lodash-match-pattern

Deep JSON pattern matching library
MIT License
50 stars 3 forks source link

Add test coverage badge using https://coveralls.io #14

Closed kevgo closed 8 years ago

kevgo commented 8 years ago

Example: https://github.com/Originate/asca

mjhm commented 8 years ago

Thanks for the suggestion. I looked into this using istanbul. It wasn't as plug-n-play as I would have hoped because I've got this _parser.js file that's auto-generated via a "prepublish" script. It only showed 80% coverage, while everything else showed >95% coverage. I could probably make this work somehow, but it's crossed the cost/benefit line for me.

kevgo commented 8 years ago

Okay, not feeling strongly about code coverage as a metric anyways :)