[Pkg-javascript-commits] [node-coveralls] 121/332: update README with Poncho usage information

Bastien Roucariès rouca at moszumanska.debian.org
Thu Nov 9 13:53:49 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 07188edd11da30d04e0f8680c3ef725348e28554
Author: Kir Belevich <kir at soulshine.in>
Date:   Mon Dec 2 14:27:33 2013 +0200

    update README with Poncho usage information
---
 README.md | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/README.md b/README.md
index bc45b06..fa8b91f 100644
--- a/README.md
+++ b/README.md
@@ -86,6 +86,16 @@ npm run coveralls
 
 For detailed instructions on requiring instrumented code, running on Travis and submitting to coveralls [see this guide](https://github.com/alanshaw/nodeunit-lcov-coveralls-example).
 
+### [Poncho](https://github.com/deepsweet/poncho)
+Client-side JS code coverage using [PhantomJS](https://github.com/ariya/phantomjs), [Mocha](https://github.com/visionmedia/mocha) and [Blanket](https://github.com/alex-seville/blanket):
+- [Configure](http://visionmedia.github.io/mocha/#browser-support) Mocha for browser
+- [Mark](https://github.com/deepsweet/poncho#usage) target script(s) with `data-cover` html-attribute
+- Run your tests with a command like this:
+
+```sh
+./node_modules/.bin/poncho -R lcov test/test.html | ./node_modules/coveralls/bin/coveralls.js
+```
+
 ## Running locally
 
 If you're running locally, you must have a `.coveralls.yml` file, as documented in [their documentation](https://coveralls.io/docs/ruby), with your `repo_token` in it; or, you must provide a `COVERALLS_REPO_TOKEN` environment-variable on the command-line.

-- 
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