-
-
Notifications
You must be signed in to change notification settings - Fork 962
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable branch = true
for coverage.run
#2452
Comments
opened #2513 |
can not pass on --fail-under=100 but on 99 it can pass the the coverage |
Well, the goal is exactly to add tests... |
FYI @Kludex : The link doesn't work (404) |
We are not using polar. They don't remove the links after you remove the integration. |
…n `websockets.py` (encode#2452)
Putting the table to make it easier to identify:
Let me know if there is any inconsistency in it. |
test_authentication
, test_background
, test_responses
, test_routing
#2796
Very few missing now: + venv/bin/coverage report --show-missing --skip-covered --fail-under=100
Name Stmts Miss Branch BrPart Cover Missing
--------------------------------------------------------------------------
starlette/_utils.py 50 0 14 1 98% 78->82
starlette/middleware/gzip.py 82 0 22 2 98% 16->22, 91->exit
starlette/requests.py 201 0 96 3 99% 114->116, 233->225, 253->278
starlette/routing.py 471 0 164 3 99% 199->202, 401->430, 484->496
--------------------------------------------------------------------------
TOTAL 9240 0 2016 9 99% Nice! Thanks @lealre for the help here. :) |
Thanks for the help here @lealre 🙏 |
Ups... I think it's not finished yet 👀 |
Glad I could help here 👍
Was it not possible to set branch=True because coverage fails in Python versions earlier than 3.9, or is it something else? |
Yes. 😔 |
This issue is only on 3.9 now. Do you know why? |
|
Let's change the |
The goal here is to enable
branch = true
ontool.coverage.run
. We want to be able to cover all logic paths.The text was updated successfully, but these errors were encountered: