pytest-coverage-comment
pytest-coverage-comment copied to clipboard
Support branch coverage measurement in the coverage PR comment
Feature request: Is it possible to have a config parameter to show the table with branch coverage measurement as well?
Currently the coverage percentage does not consider branch percentage. But if someone uses --branch
flag in the coverage command or branch=True
in setup.cfg
, the table that this action posts would not be consistent with the table that pytest-cov prints out
Good idea, I will check the possibility to add this feature when got some time.
I checked the ability and even tried to add this feature. For now, it's tough, because it is written in pure javascript without any tests, so I scary to break things.
I think, that first of all when I will get some time, I will try to rewrite this action in typescript
with strong UTs, then I will be able to add new powerful features like that without feeling that I may break things.
+1
+1
This action is great and that's the only feature I'm missing