You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 hererunreport=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 settingsreporter="multiple",
multiple= {
reporters= {"default", "multiple.cobertura", "multiple.html"},
cobertura= {reportfile='cobertura.xml'}
}
}
HTML report without cluacov:
HTML report with cluacov:
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.
The text was updated successfully, but these errors were encountered:
josefschabasser
changed the title
improper handling of paths
improper handling of relative paths
Apr 12, 2022
cluacov is not aware that
./relative/path
andrelative/path
are the same.Used packages:
luacov config:
HTML report without cluacov:
HTML report with cluacov:
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.The text was updated successfully, but these errors were encountered: