[Pkg-javascript-commits] [node-coveralls] 179/332: Update README.md

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

rouca pushed a commit to branch master
in repository node-coveralls.

commit e0ae7719c9090d17077dade39b1c793da039c33f
Author: Nuno Barreto <nbarreto at gmail.com>
Date:   Fri Aug 15 09:46:45 2014 +0100

    Update README.md
---
 README.md | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/README.md b/README.md
index a7436f5..5c3a375 100644
--- a/README.md
+++ b/README.md
@@ -54,10 +54,19 @@ YOURPACKAGE_COVERAGE=1 ./node_modules/.bin/mocha test -R mocha-lcov-reporter | .
 Check out an example [Makefile](https://github.com/cainus/urlgrey/blob/master/Makefile) from one of my projects for an example, especially the test-coveralls build target.  Note: Travis runs `npm test`, so whatever target you create in your Makefile must be the target that `npm test` runs (This is set in package.json's 'scripts' property).
 
 ### [Istanbul](https://github.com/gotwarlost/istanbul)
+
+--With Mocha:--
+
 ```sh
 istanbul cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
 ```
 
+--With Jasmine:--
+
+```sh
+istanbul cover jasmine-node --captureExceptions spec/ && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage
+```
+
 ### [Nodeunit](https://github.com/caolan/nodeunit) + [JSCoverage](https://github.com/fishbar/jscoverage)
 
 Depend on nodeunit, jscoverage and coveralls:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-coveralls.git



More information about the Pkg-javascript-commits mailing list