jscoverage 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.
Pricing
Integrations
Company Details
Product Details
jscoverage Features and Options
jscoverage User Reviews
Write a Review- Previous
- Next