Skip to content

Expand test coverage to CLI commands and internal packages #18

Description

@jeanmachuca

What

Current test coverage is limited to 5 test files (297 lines) focused on archive parsing and config. Missing tests for:

  • cmd/ directory (CLI commands: init, install, remove, list, info, verify, search, update)
  • patch/ package
  • registry/ package
  • log/ package

Why

Without tests for the CLI layer and key internal packages, regression bugs can slip through unnoticed.

How

  • Add unit tests for each CLI command
  • Add tests for patch/ and registry/ packages
  • Aim for at least 50% coverage on new packages before closing

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttestingTest coverage and quality

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions