statgen / locuszoom

A Javascript/d3 embeddable plugin for interactively visualizing statistical genetic data from customizable sources.
https://statgen.github.io/locuszoom/
MIT License
156 stars 29 forks source link

Add Code Coverage Reports #8

Closed Frencil closed 4 years ago

Frencil commented 8 years ago

It would be nice to get code coverage reports for our automated tests, and possibly also have those reports consumed by a service like Coveralls to track our coverage level over time.

Early attempts to hook up the gulp/mocha build/test process to some coverage reporting today proved less than fruitful. Istanbul is a viable node package for coverage reports but I could only get it to work command line separately (read: not in gulp context) and even then our coverage levels were dinged since dependencies (d3 and Q) were being counted against our totals. Will revisit in the future.

abought commented 4 years ago

Implemented as part of #189, with the switch to webpack/true modules.