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

Improve service unit test #161

Merged
merged 4 commits into from
Dec 16, 2024
Merged

Improve service unit test #161

merged 4 commits into from
Dec 16, 2024

Conversation

falfaroc
Copy link
Collaborator

Description

Improve service unit tests to coverage over 80% in the service.go.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1559

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Backward compatibility is not broken

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • Increase service unit tests past the threshold.
PASS
coverage: 59.9% of statements
ok      github.com/dell/goscaleio       0.336s  coverage: 59.9% of statements

image

@falfaroc falfaroc merged commit 15a1b66 into main Dec 16, 2024
5 of 6 checks passed
@falfaroc falfaroc deleted the usr/falfaroc/service-unit-test branch December 16, 2024 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants