Module html.Configuration
Info:
- Copyright: 2020 wesen
- Release: 0.1
- License: MIT
- Author: wesen
Class Configuration
Configuration.luacovConfigurationTable | The luacov configuration table |
Configuration.htmlReporterConfigurationTable | The "html" configuration field of the luacov configuration table |
Configuration:new (_luacovConfigurationTable) | Configuration constructor. |
Configuration:getOutputDirectoryPath () | Returns the "outputDirectory" config value or the default value if no config value is set. |
Configuration:getProjectName () | Returns the "projectName" config value or the default value if no config value is set. |
Class Configuration
Parses the HTML reporter configuration from a luacov configuration table.
- Configuration.luacovConfigurationTable
-
The luacov configuration table
- luacovConfigurationTable table
- Configuration.htmlReporterConfigurationTable
-
The "html" configuration field of the luacov configuration table
- htmlReporterConfigurationTable table
- Configuration:new (_luacovConfigurationTable)
-
Configuration constructor.
Parameters:
- _luacovConfigurationTable table The luacov configuration table
- Configuration:getOutputDirectoryPath ()
-
Returns the "outputDirectory" config value or the default value if no config value is set.
Returns:
-
string
The "outputDirectory" config value
- Configuration:getProjectName ()
-
Returns the "projectName" config value or the default value if no config value is set.
Returns:
-
string
The "projectName" config value