Skip to content

Coverage: cli.py and reporter modules #7

@alialavia

Description

@alialavia

Problem

Three smaller modules sit in the coverage omit list because they were considered low-value:

  • `src/sqlproof/cli.py` (151 LOC)
  • `src/sqlproof/reporter/console.py` (20 LOC)
  • `src/sqlproof/reporter/json_io.py` (26 LOC)

These ship in the wheel, so they're public surface even if not as load-bearing as the generator/schema layer.

Acceptance

  • Add tests using `click.testing.CliRunner` (or whatever CLI framework is in use) for `cli.py`'s entry points.
  • Snapshot tests (using the existing `syrupy` dev dep) for the two reporters' output.
  • Drop all three from the `omit` list when ≥80% covered each.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions