Coverage on meteor

Changes 0.5.0

  • edit the Travis CI conf file
    • Using a fork of spacejam, it runs tests, saves the coverage inside a lcov.info file and using node-coveralls it sends the coverage to coveralls.
  • add the coverage img to the repo ! Coverage Status
    I think this is the first meteor package that has one :slight_smile:
    Note: the server code of this package is not covered at all because on runtime the server reads and executes the meteor-coverage server js and after that it starts to instrument every single js that will be read.
  • fix file paths when meteor test-packages inside a package (necessary for covering itself)
  • clean & other fix…

Next

Check if any meteor package that uses Tinytest and Travis can run their tests on travis and export coverage.
Support for meteor app coverage.

3 Likes