1.0.0 • Published 9 years ago

node-qunit-phantomjs-istanbul v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

Run QUnit tests in PhantomJS and capture istanbul code coverage metrics if available.

Asssumes you have pre-instrumented the code being tested.

This was originally forked from node-qunit-phantomjs

Install

npm install --save-dev node-qunit-phantomjs-istanbul

Using

var qunit = require('node-qunit-phantomjs');

qunit('test/js/tests.html', { 'coverageLocation': '/tmp/coverage.json' }, cb);