Open InEdited opened 5 years ago
Just noticed that using this feature with the one implemented in either pull requests #72 or #71 will cause the reporting to always fail, will work on that to make it work only on the tested files.
Just noticed that using this feature with the one implemented in either pull requests #72 or #71 will cause the reporting to always fail, will work on that to make it work only on the tested files.
master
code instead?Also, I think users would expect the minimum requirement % calculation to include the untested files when includeuntestedfiles
is set.
Can I open another PR with the change?
Is this still in progress. Would love to get this feature landed
@allbarbos Yes, please!
(I'm very low on bandwidth for maintaining LuaCov — in fact, the previous maintainer passed away and I'm carrying the torch, but I'd love to get some maintainership help on this! If any of you wants to help out, please update this PR and let me know and I'll grant commit access)
@hishamhm I fixed up the PR. But it has issues beyond the simple feature;
A simple option would be to leave this as it is today, and have a CI user run 2 reports. First the one they want for display/reporting. And then the default one, which will display the error.
(though that means one cannot configure the stats files to be cleared, since the second run would need those as well)
I'm leaning towards a separate reporter that doesn't really report anything, but just generates the error message.
Added an option to put a minimum coverage constraint. This resolves issue #68