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
API Access
Has API
Pricing Details
Free
Free Trial
Free Version
Pricing Details
Free
Free Trial
Free Version
Deployment
Web-Based
On-Premises
iPhone App
iPad App
Android App
Windows
Mac
Linux
Chromebook
Deployment
Web-Based
On-Premises
iPhone App
iPad App
Android App
Windows
Mac
Linux
Chromebook
Customer Support
Business Hours
Live Rep (24/7)
Online Support
Customer Support
Business Hours
Live Rep (24/7)
Online Support
Types of Training
Training Docs
Webinars
Live Training (Online)
In Person
Types of Training
Training Docs
Webinars
Live Training (Online)
In Person
Vendor Details
Company Name
Blanket.js
Website
github.com/alex-seville/blanket
Vendor Details
Company Name
jscoverage
Website
www.npmjs.com/package/jscoverage