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
then running the test will work and create empty lcov.info file which will throw this error
Expected behavior
fail and mention the coverage is 0%
Additional context
i know it does't make sense to write a test like this but in my case it makes sense to fail and mention that the failure reson is the coverage is 0%
The text was updated successfully, but these errors were encountered:
Thank you for opening this issue. Personally, I think it makes sense to throw an error if the lcov report is empty, since empty and 0% coverage can be different things.
Have you considered running a custom script before very_good_coverage to check if the lcov.info file is empty or not? That might give you more control over the type of message you want to provide.
Describe the bug
parsing error!
To Reproduce
write a test witout using any code from the project
for example
then running the test will work and create empty
lcov.info
file which will throw this errorExpected behavior
fail and mention the coverage is 0%
Additional context
i know it does't make sense to write a test like this but in my case it makes sense to fail and mention that the failure reson is the coverage is
0%
The text was updated successfully, but these errors were encountered: