yuitest-coverage

0.0.6 • Public • Published

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
 

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.6
    17,472
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.6
    17,472
  • 0.0.5
    2
  • 0.0.4
    0
  • 0.0.3
    0
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i yuitest-coverage

Weekly Downloads

15,512

Version

0.0.6

License

none

Last publish

Collaborators

  • davglass