Average Ratings 0 Ratings
Average Ratings 0 Ratings
Description
Blanket.js is a user-friendly JavaScript code coverage library designed to simplify the installation, usage, and understanding of code coverage metrics. This tool allows for seamless operation or tailored customization to suit specific requirements. By providing code coverage statistics, Blanket.js enhances your current JavaScript tests by indicating which lines of your source code are being tested. It achieves this by parsing the code with Esprima and node-falafel, then adding tracking lines for analysis. The library integrates with test runners to produce coverage reports after test execution. Additionally, a Grunt plugin enables Blanket to function as a traditional code coverage tool, producing instrumented versions of files rather than applying live instrumentation. Blanket.js can also execute QUnit-based reports in a headless manner using PhantomJS, with results shown in the console. Notably, if any predefined coverage thresholds are not satisfied, the Grunt task will fail, ensuring that developers adhere to their quality standards. Overall, Blanket.js serves as an effective solution for developers seeking to maintain high test coverage in their JavaScript applications.
Description
The jscoverage tool offers support for both Node.js and JavaScript, allowing for an expanded coverage range. To utilize it, you can load the jscoverage module using Mocha, which enables it to function effectively. When you select different reporters like list, spec, or tap in Mocha, jscoverage will append the coverage information accordingly. You can designate the reporter type using covout, which allows options such as HTML and detailed reporting. The detailed reporter specifically outputs any uncovered code directly to the console for immediate visibility. As Mocha executes test cases with the jscoverage module integrated, it ensures that any files listed in the covignore file are excluded from coverage tracking. Additionally, jscoverage generates an HTML report, providing a comprehensive view of the coverage results. By default, it looks for the covignore file in the root of your project, and it will also copy any excluded files from the source directory to the specified destination directory, ensuring a clean and organized setup for testing. This functionality enhances the testing process by clearly indicating which parts of your code are adequately covered and which areas require further attention.
API Access
Has API
No
API Access
Has API
No
Integrations
JavaScript
Yes
Mocha
Yes
Axis LMS
Yes
HTML
No
JSON
Yes
Node.js
No
QUnit
Yes
Integrations
JavaScript
Yes
Mocha
Yes
Axis LMS
No
HTML
Yes
JSON
No
Node.js
Yes
QUnit
No
Pricing Details
Free
Free Trial
No
Free Version
Yes
Pricing Details
Free
Free Trial
No
Free Version
Yes
Deployment
Web-Based
No
On-Premises
No
iPhone App
No
iPad App
No
Android App
No
Windows
Yes
Mac
Yes
Linux
Yes
Chromebook
No
Deployment
Web-Based
No
On-Premises
No
iPhone App
No
iPad App
No
Android App
No
Windows
Yes
Mac
Yes
Linux
Yes
Chromebook
No
Customer Support
Business Hours
No
Live Rep (24/7)
No
Online Support
Yes
Customer Support
Business Hours
No
Live Rep (24/7)
No
Online Support
Yes
Types of Training
Training Docs
Yes
Webinars
No
Live Training (Online)
No
In Person
No
Types of Training
Training Docs
Yes
Webinars
No
Live Training (Online)
No
In Person
No
Vendor Details
Company Name
Blanket.js
Website
github.com/alex-seville/blanket
Vendor Details
Company Name
jscoverage
Website
www.npmjs.com/package/jscoverage