forked from mpeterv/cluacov
-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
cluacov is not aware that ./relative/path and relative/path are the same.
Used packages:
- Lua 5.4
- cluacov 0.1.2-1
- luacov 0.15.0-1
- luacov-multiple 0.5-1
- luafilesystem 1.8.0-1
- luaunit 3.4-1
- lustache 1.3.1-0
luacov config:
return {
-- standard luacov configuration keys and values here
runreport = true,
reportfile = 'luacov.report.out',
-- add "^%.%/lua%/.+$" to add untested files when using cluacov - THIS WILL RESULT IN WRONG REPORTS!
include = {"^lua%/.+$"},
includeuntestedfiles = true,
-- multiple settings
reporter = "multiple",
multiple = {
reporters = {"default", "multiple.cobertura", "multiple.html"},
cobertura = {reportfile = 'cobertura.xml'}
}
}HTML report with cluacov and the pattern mentioned above:

EDIT: I found this issue because I enabled includeuntestedfiles. Tested files are reported with a leading ./, untested files omit this string.
Metadata
Metadata
Assignees
Labels
No labels

