Skip to content
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

unit tests coverage is very limited #141

Open
sudeephb opened this issue Jan 23, 2024 · 0 comments
Open

unit tests coverage is very limited #141

sudeephb opened this issue Jan 23, 2024 · 0 comments

Comments

@sudeephb
Copy link
Contributor

sudeephb commented Jan 23, 2024

The unit tests have a lot of room for improvements. The current overall coverage is very low (41%). Some key scripts, including actions.py and openstack_service_checks.py, don't even have any unit tests.

---------- coverage: platform linux, python 3.8.10-final-0 -----------
Name Stmts Miss Cover

actions/actions.py 36 36 0%
files/plugins/check_cinder_services.py 54 12 78%
files/plugins/check_contrail_analytics_alarms.py 86 41 52%
files/plugins/check_masakari.py 44 17 61%
files/plugins/check_nova_services.py 79 29 63%
files/plugins/check_octavia.py 135 25 81%
files/plugins/check_port_security.py 139 90 35%
files/run_allocation_checks.py 110 20 82%
files/run_rally.py 61 61 0%
lib/lib_openstack_service_checks.py 502 333 34%
reactive/openstack_service_checks.py 162 162 0%

TOTAL 1408 826 41%


Imported from Launchpad using lp2gh.

  • date created: 2022-06-15T19:50:04Z

  • owner: txiao

  • assignee: None

  • the launchpad url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant