Skip to content

LuaCov report generators (multiple, html, cobertura).

License

Notifications You must be signed in to change notification settings

to-kr/luacov-multiple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

luacov-multiple

LuaCov is a simple coverage analyzer for Lua scripts. The luacov-multiple contains reports

with possibility to generate multiple reports at once.

Installation

[sudo] luarocks install luacov-multiple

Usage

  • Set specific multiple params in configuration file
  • Run tests with enabled LuaCov

Specific configuration

The configuration file may contain a specific params:

local configuration = {
	-- standard luacov configuration keys and values here
    runreport = true,
    reportfile = 'output/coverage/report/luacov.report.out',

    -- multiple settings
    reporter = "multiple",

    multiple = {
        reporters = {"default", "multiple.cobertura", "multiple.html"},
        cobertura = {
            reportfile = 'output/coverage/report/cobertura.xml'
        },
        html = {
            reportfile = 'output/coverage/report/index.html'
        }
    }
}
return configuration

About

LuaCov report generators (multiple, html, cobertura).

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages