Madrapps / jacoco-report

Github action that publishes the JaCoCo report as a comment in the Pull Request
https://github.com/marketplace/actions/jacoco-report
MIT License
144 stars 63 forks source link

add support for BRANCH coverage #67

Open gokhan-oner opened 1 year ago

gokhan-oner commented 1 year ago

It'd be usefull to add support for branch coverage as well.

PS: @thsaravana If idea is OK, I'm willing to do the necessary changes.

gokhan-oner commented 11 months ago

@thsaravana @instrap I'm creating a PR for this, but tests are using some predefined values in the jacoco-playground repo it seems. How should I progress? Do you have a guide?

thsaravana commented 10 months ago

Thanks. Could you run the approach you are taking before working on it? We have plans to make this configurable, so that the user can choose the type of coverage (this could be multiple types as well).

As for the unit tests, the unit tests reflects the jacoco-playground, since it's easy to test and also update the report.xml mock. Feel free to create new report.xml for 'branches' and you can write your test against that.

alpeshvas commented 3 months ago

@gokhan-oner @thsaravana any update here?