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

Add testing files and unit test coverage for unity #206

Merged
merged 3 commits into from
Apr 24, 2023
Merged

Conversation

jooseppi-luna
Copy link
Contributor

Description

Some of the badDriver yaml files required for unit testing were removed in a recent PR. This PR adds them back in, and also adds a unit tests for unity to bring up the drivers package coverage to 95%.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#756

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
  • I have maintained backward compatibility

How Has This Been Tested?

Ran driver and controller unit tests to confirm tests pass and coverage is improved.

@jooseppi-luna jooseppi-luna merged commit 616b8e5 into main Apr 24, 2023
@jooseppi-luna jooseppi-luna deleted the add-unity-ut branch April 25, 2023 15:57
ChristianAtDell added a commit that referenced this pull request Oct 15, 2024
* adding back badDriver files

* add unit tests for unity

* ran gofmt
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