mootools / mootools-core

MooTools Core Repository
https://mootools.net
2.65k stars 510 forks source link

add package 'karma-coverage' to run some code coverage tests #2768

Open Bruce17 opened 8 years ago

Bruce17 commented 8 years ago

Adding karma-coverage to run code coverage tests as mentioned in https://github.com/mootools/mootools-core/issues/2585. I added a sample implementation to karma:run and karma:travis.

Please let me know if this grunt configuration is ok for you.

Edit: I'd suggest to add another tool e.g. coveralls to display coverage result data.

SergioCrisostomo commented 8 years ago

Nice! Lgtm.