Skip to content

Add tests and fix ValidateCmdRun bug#110

Draft
codybuell wants to merge 5 commits intomainfrom
grow-test-coverage
Draft

Add tests and fix ValidateCmdRun bug#110
codybuell wants to merge 5 commits intomainfrom
grow-test-coverage

Conversation

@codybuell
Copy link
Collaborator

  • Fix ValidateCmdRun to properly support --account/--alias + --car without requiring --favorite flag

  • Add comprehensive test coverage for:

    • kion.ConvertAccessType() with case sensitivity and whitespace edge cases
    • cache.NullCache with table-driven tests and zero-value scenarios
    • commands validators with nil favorites and region behavior tests

- Fix ValidateCmdRun to properly support --account/--alias + --car
  without requiring --favorite flag

- Add comprehensive test coverage for:
  - kion.ConvertAccessType() with case sensitivity and whitespace edge
    cases
  - cache.NullCache with table-driven tests and zero-value scenarios
  - commands validators with nil favorites and region behavior tests
@codybuell codybuell self-assigned this Jan 9, 2026
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.

1 participant