yuitest-coverage
Node.js wrapper for yuitest-coverage java package
Last updated 14 years ago by davglass .
BSD · Repository · Bugs · Original npm · Tarball · package.json
$ npm install yuitest-coverage 
SYNC missed versions from official npm registry.

YUI Test Coverage Node.js Module

This module is a wrapper around the YUITest Coverage Java module that you can call from a Node.js process.

Example


var coverage = require('yuitest-coverage');

coverage.cover('<file string to cover>', {
    charset: 'utf8',
    name: 'A name for the file in the output'
},
function(err, data) {
    //err will be populated with the stderr from the java process
    //data will be a string of the covered contents, you write the file out
});

coverage.cover('</path/to/file>', callback); // also works

Current Tags

  • 0.0.6                                ...           latest (14 years ago)

6 Versions

  • 0.0.6                                ...           14 years ago
  • 0.0.5                                ...           14 years ago
  • 0.0.4                                ...           14 years ago
  • 0.0.3                                ...           14 years ago
  • 0.0.2                                ...           14 years ago
  • 0.0.1                                ...           14 years ago
Maintainers (1)
Downloads
Total 14
Today 0
This Week 0
This Month 14
Last Day 0
Last Week 11
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE