Travis | Circle CI | Coveralls | Codecov |
---|---|---|---|
Unfortunately, the combo meteor-coverage
& spacejam
is unstable, with 1 to 10 % chance to fail a test with a phantomjs error that some ES6 is undefined (=corrupted).
You can see on the circle ci page some tests with +150 times the same test and that just fail.
Not working
meteor test-packages --driver-package=practicalmeteor:mocha
becomes
spacejam test-packages --driver-package=practicalmeteor:mocha-console-runner
Required : See the Package.onTest block of the file packages/somepkg/package.js
meteor test --driver-package=practicalmeteor:mocha
becomes
spacejam test --driver-package=practicalmeteor:mocha-console-runner
Required : See .meteor/packages
- [
test
,test --full-app
,test-packages
] --coverage "<export types>"
(indexOf is used to detect types)out_lcovonly
creates a lcov report (for CI platforms)out_html
creates a html reportout_coverage
creates a dump of the coverage - used when you want to merge several coveragein_coverage
imports a coverage dump (previously create without_coverage
)out_json_report
creates a json reportout_json_summary
creates a json_summary reportout_text_summary
creates a text_summary reportout_teamcity
,out_cobertura
,out_lcov_
,out_text_
,out_text_lcov
are not working yet
--driver-package=practicalmeteor:mocha-console-runner
See the .travis.yml for additional informations
git submodule update --remote
cd packages/meteor-coverage
git pull [..]