Average Ratings 0 Ratings
Average Ratings 0 Ratings
Description
LuaCov serves as a straightforward coverage analysis tool for Lua scripts. By running a Lua script with the luacov module activated, it produces a statistics file detailing the execution count for each line within the script and its associated modules. This statistics file is then processed by the luacov command-line tool to create a report, enabling users to identify untraversed code paths, which is essential for assessing the thoroughness of a test suite. The tool offers a variety of configuration options, with the default settings found in src/luacov/defaults.lua, representing the global defaults. For those needing project-specific configurations, they can create a Lua script that either sets options as global variables or returns a table containing specific options, saving this file as .luacov in the project directory where luacov is executed. For instance, such a configuration could specify that only the foo module and its associated submodules should be included in the coverage analysis, indicating that these are located within the src directory. This flexibility allows developers to fine-tune their coverage analysis to better align with their project needs.
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
LuaCov
Website
github.com/lunarmodules/luacov
Vendor Details
Company Name
jscoverage
Website
www.npmjs.com/package/jscoverage