weixin_39613637
weixin_39613637
2021-01-07 22:51

Debugging coverage

Debugging coverage, please do not merge. Thank you!

该提问来源于开源项目:MISP/MISP

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

6条回答

  • weixin_39995439 weixin_39995439 4月前

    Current coverage is 0.00%

    Merging #679 into master will not affect coverage as of 169e26f

    No diff could be generated. No reports for #679 found. Review entire Coverage Diff as of 169e26f

    Powered by Codecov. Updated on successful CI builds.

    点赞 评论 复制链接分享
  • weixin_39613637 weixin_39613637 4月前

    not sure how to produce a php clover.xml coverage report. I have no experience with php. With Codecov you can upload both php coverage and python coverage on the same repository.

    Our php example is here: https://github.com/codecov/example-php/blob/master/.travis.yml#L15 (you can use the python package, so ignore the bash call)

    点赞 评论 复制链接分享
  • weixin_39613637 weixin_39613637 4月前

    I think I'm confused at the issue. I'll await your reply to above to continue. Thank you

    点赞 评论 复制链接分享
  • weixin_39784460 weixin_39784460 4月前

    Thank you for your work there, very much appreciated :)

    Don't spend time on the coverage of the PHP code itself, as far as I know, there are no tests implemented (we may work on it at some point in the future, but not right now, especially because PHP is a pain).

    The plan is to use the Python API: the highest the coverage of the python module is, the better (most of the code of the interface will also be tested)

    点赞 评论 复制链接分享
  • weixin_39613637 weixin_39613637 4月前

    Ok. So you are seeking Python coverage. In that case I"m not sure why it is not being included in the coverage xml... Are you able to produce a report in your local dev? Can you run your tests then call coverage report what files show up?

    点赞 评论 复制链接分享
  • weixin_39784460 weixin_39784460 4月前

    Merged in https://github.com/MISP/MISP/pull/840

    点赞 评论 复制链接分享

相关推荐