Skip to content

Add direct unit tests for app/cli/layout.py #875

@VaibhavUpreti

Description

@VaibhavUpreti

Why This Matters

render_help() and render_landing() define the root CLI experience, but they are untested directly.

Read First

  • app/cli/layout.py
  • app/cli/__main__.py

Scope

  1. Add direct tests for the help and landing renderers.
  2. Assert on important content, not the entire Rich output byte-for-byte.
  3. Add a sync check so _HELP_COMMANDS stays aligned with actual root commands.

Tests / Coverage

  • tests/cli/test_layout.py
  • cover render_help()
  • cover render_landing()
  • cover RichGroup.format_help()

Acceptance Criteria

  • the root help/landing content is directly tested
  • command drift is caught by tests
  • tests remain resilient to harmless spacing changes

Metadata

Metadata

Assignees

No one assigned

    Labels

    cliCommand-line interface worktestsTest coverage and test organization

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions