collective / icalendar

icalendar parser library for Python
https://icalendar.readthedocs.io
Other
1k stars 172 forks source link

Enable collection of branch coverage on test runs #699

Closed devdanzin closed 4 months ago

devdanzin commented 4 months ago

Having branch coverage information helps when trying to address issues like #698 and #629 (where we used it to find places to test).

This PR adds the --branch option to coverage run in tox.ini commands.

Possible downsides: test run time will likely increase, coverage numbers will probably go down. Still, the difference should not be huge and it will help improving coverage in the long term.

coveralls commented 4 months ago

Pull Request Test Coverage Report for Build 10102688154

Details


Totals Coverage Status
Change from base Build 10100578761: -0.1%
Covered Lines: 3176
Relevant Lines: 3254

💛 - Coveralls
niccokunzmann commented 4 months ago

Cool, thanks!