google-cloud-python icon indicating copy to clipboard operation
google-cloud-python copied to clipboard

Increase code coverage from 78% to 100%

Open parthea opened this issue 4 years ago • 1 comments

PR https://github.com/googleapis/python-test-utils/pull/82 added a check for code coverage. The test_utils folder has 78% coverage.

Name                                                    Stmts   Miss  Cover   Missing
-------------------------------------------------------------------------------------
test_utils/__init__.py                                      0      0   100%
test_utils/imports.py                                       9      9     0%   15-38
test_utils/lower_bound_checker/__init__.py                  0      0   100%
test_utils/lower_bound_checker/lower_bound_checker.py      97      2    98%   179, 266
test_utils/orchestrate.py                                 142      0   100%
test_utils/prefixer.py                                     34      0   100%
test_utils/retry.py                                        75     75     0%   15-229
test_utils/system.py                                       32     32     0%   15-80
test_utils/vpcsc_config.py                                 40     40     0%   17-118
tests/unit/test_lower_bound_checker.py                     96      0   100%
tests/unit/test_orchestrate.py                            160      2    99%   20-21
tests/unit/test_prefixer.py                                32      0   100%
-------------------------------------------------------------------------------------
TOTAL                                                     717    160    78%

parthea avatar Jan 20 '22 15:01 parthea

I'm going to transfer this issue to google-cloud-python as we're planning to move the code for google-cloud-testutils there.

parthea avatar Nov 21 '23 10:11 parthea