Skip to content

test(ctl): cover commands/core.rs capability-status labels + daily dispatch #236

@maiconburn

Description

@maiconburn

crates/ctl/src/commands/core.rs (~5KB, 37.33% coverage, 28/75 lines; ~32 lines to hit 80%). Thin module: capability status formatting + daily command shim.

Suggested tests

  • capability_status_label(true/false) -> "enabled" / "disabled"
  • DailyCommand dispatch arms (each branch)
  • make_opts + welcome wiring if exposed
  • Any Cli -> CapabilityRegistry interaction helpers

Pure helpers dominate here; should be the fastest win of the batch.

Acceptance

cargo test -p innerwarden-ctl core >= 4 new tests; file coverage >= 80%.
Estimated effort: ~1h.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedExtra attention is neededtestTest coverage / regression test work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions