mocha-phantomjs-istanbul
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "mocha-phantomjs-istanbul", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "collect istanbul coverage from instrumented client-side Mocha tests with PhantomJS", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# mocha-phantomjs-istanbul | ||
> Collect [istanbul](https://github.com/gotwarlost/istanbul) coverage stats from client-side [Mocha](https://github.com/visionmedia/mocha)) tests with [PhantomJS](https://github.com/ariya/phantomjs)) using [mocha-phantomjs](https://github.com/metaskills/mocha-phantomjs). | ||
> Collect [istanbul](https://github.com/gotwarlost/istanbul) coverage stats from client-side [Mocha](http://mochajs.org) tests with [PhantomJS](https://phantomjs.org) using [mocha-phantomjs](https://github.com/metaskills/mocha-phantomjs). | ||
Collects coverage data from a istanbul-instrumented test suite run in the browser and saves it to a .json file for further processing (for example with [gulp-istanbul-json](https://github.com/willembult/gulp-istanbul-json)). | ||
Collects coverage data from a istanbul-instrumented test suite run in the browser and saves it to a .json file for further processing (for example with [gulp-istanbul-report](https://github.com/willembult/gulp-istanbul-report)). | ||
@@ -27,3 +27,3 @@ Works as a hook into mocha-phantomjs. See these discussions for more info: https://github.com/metaskills/mocha-phantomjs/issues/99, https://github.com/metaskills/mocha-phantomjs/pull/113. | ||
### gulp | ||
It's more likely you'll run this from [gulp](https://github.com/wearefractal/gulp) with [gulp-mocha-phantomjs](https://github.com/mrhooray/gulp-mocha-phantomjs). The options get passed through using `phantomjs`. | ||
It's more likely you'll run this from [gulp](http://gulpjs.com) with [gulp-mocha-phantomjs](https://github.com/mrhooray/gulp-mocha-phantomjs). The options get passed through using `phantomjs`. | ||
@@ -46,5 +46,5 @@ ```javascript | ||
### What to do with the coverageFile? | ||
Use it with some other plugin to turn the JSON file into a full report. If you use gulp, you could use [gulp-istanbul-json](https://github.com/willembult/gulp-istanbul-json). | ||
Use it with some other plugin to turn the JSON file into a full report. If you use gulp, you could use [gulp-istanbul-report](https://github.com/willembult/gulp-istanbul-report). | ||
## License | ||
MIT | ||
[MIT License](https://raw.githubusercontent.com/willembult/mocha-phantomjs-istanbul/master/LICENSE) |
5294
4