starlette icon indicating copy to clipboard operation
starlette copied to clipboard

Enable `branch = true` for `coverage.run`

Open Kludex opened this issue 2 years ago • 4 comments

The goal here is to enable branch = true on tool.coverage.run. We want to be able to cover all logic paths.

[!IMPORTANT]

  • We're using Polar.sh so you can upvote and help fund this issue.
  • We receive the funding once the issue is completed & confirmed by you.
  • Thank you in advance for helping prioritize & fund our backlog.
Fund with Polar

Kludex avatar Jan 31 '24 09:01 Kludex

opened #2513

ShreySinha02 avatar Feb 15 '24 16:02 ShreySinha02

can not pass on --fail-under=100 but on 99 it can pass the the coverage

ShreySinha02 avatar Feb 15 '24 17:02 ShreySinha02

Well, the goal is exactly to add tests...

Kludex avatar Feb 15 '24 17:02 Kludex

There was already a PR open for this issue here. I have started to work on test coverage. The first PR was opened here. After merging this first one I will continue with the rest of them.

TechNiick avatar Feb 16 '24 22:02 TechNiick