lunarmodules / luacov

LuaCov is a simple coverage analyzer for Lua code.
http://lunarmodules.github.io/luacov/
MIT License
300 stars 68 forks source link

Reporting untested files #70

Closed do-you-dare closed 5 years ago

do-you-dare commented 5 years ago

Hello! I have a bunch of untested files on my project, and the report shows a total percentage of coverage regarding only the files touched by the tests. I tried putting more files on the include configuration table, but my untested files don't get reported. Do you know how could I do this?

hishamhm commented 5 years ago

@dread-uo unfortunately, LuaCov does not currently have this feature. It only reports files that were executed by the Lua VM. I believe it would not be too hard to write a patch to add this feature!

do-you-dare commented 5 years ago

It seems there are 2 pull requests implementing this; will one of them be merged soon?

hishamhm commented 5 years ago

@dread-uo #71 is now merged, thanks for the nudge!

do-you-dare commented 5 years ago

@hishamhm , hello again! Could you release a new version of luacov on LuaRocks with those this feature? Thanks in advance o/