Module "luacov.runner"

Statistics collecting module.

Functions

M.load_config (configuration) Loads a valid configuration
init (configuration) Initializes LuaCov runner to start collecting data


Functions

M.load_config (configuration)
Loads a valid configuration

Parameters:

  • configuration: user provided config (config-table or filename)

Return value:

existing configuration if already set, otherwise loads a new config from the provided data or the defaults
init (configuration)
Initializes LuaCov runner to start collecting data

Parameters:

  • configuration: if string, filename of config file (used to call load_config). If table then config table (see file luacov.default.lua for an example)

Valid XHTML 1.0!