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