Skip to content

test: reach and enforce 100% coverage #345

Closed

Description

@uniqueg

Why?

All FOCA-based apps aim at, and enforce, 100% test coverage (cloud-registry is the template). FOCA has no coverage settings in pyproject.toml and no codecov.yml, and its coverage is likely well below 100%.

How?

  1. Measure the current coverage (per module) and list the gaps in this issue.
  2. If the gaps are large, split them into child issues (one per area, PR-sized), with this issue as the parent.
  3. Once at 100%: set fail_under = 100 in [tool.coverage.report] and add a codecov.yml with project and patch targets of 100%.

Do this after cloud-registry v0.3.0 is released.

Acceptance criteria

  • Coverage is 100%, and local runs and CI fail below it.

Activity

  1. added
    priority: medium
    status: on hold
    type: testing
    workload: weeks
    status: in progress
    and removed
    status: on hold
    on Oct 21, 2026
  2. uniqueg commented on Oct 22, 2026

    @uniqueg
    MemberAuthor

    Done in #377. Coverage was already at 100% (2133 statements), so no child issues were needed; fail_under = 100 and codecov.yml (project and patch targets of 100%) now enforce it.

  3. removed
    status: in progress
    on Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: testingworkload: weeks

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions