Socket
Socket
Sign inDemoInstall

yuitest-coverage

Package Overview
Dependencies
0
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    yuitest-coverage

Node.js wrapper for yuitest-coverage java package


Version published
Maintainers
1
Install size
907 kB
Created

Readme

Source

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('/path/to/file', {
    charset: 'utf8',
    name: 'A name for the file'
},
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('<string from a file>', callback); // also works

Keywords

FAQs

Last updated on 22 Aug 2012

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc