Eiji

Eiji

I found what I remembered about macros. Looks like the issue is still open:
https://github.com/parroty/excoveralls/issues/59

Regarding the weird behaviour about 0% coverage it’s about a confusing coveralls defaults and it could be fixed simply by creating a file called coveralls.json with following content:

{
  "coverage_options": {
    "treat_no_relevant_lines_as_covered": true
  }
}

In my opinion those files should be by default skipped i.e. at the bottom of the report there should be a note that x files were skipped due to no relevant lines found. The other suggested solution is to print it such files with N/A, - or similar result. Of course it does not affect the final score, but the default look really weird and are very confusing …

Simply think that you realised such detail and see an open issue many years ago and after years you found that support for it has been added with some option. :sweat_smile:

Anyway, the coverage tool is limited a lot especially if you are creating using a lot of macros.

1
Post #11
— All posts loaded —