Skip to content

test: reach 100% test coverage #179

Closed

Description

@uniqueg

Why?

Codecov reports about 74% line coverage for tesk-api. The next release should have 100%, as our other maintained repos do.

How?

  • Find the uncovered lines and branches from the merged unit and integration JaCoCo reports, the same ones Codecov receives.
  • Cover them with meaningful unit or integration tests that assert behaviour, not just execution.
  • Remove dead code instead of testing it.
  • Exclude generated code, such as the OpenAPI models and configuration-only classes, only where it can't be tested sensibly, with the reason in the JaCoCo or Codecov configuration.
  • Once 100% is reached, make CI enforce it (JaCoCo check rule and/or Codecov target: 100%).

Acceptance criteria

  • Codecov shows 100% project coverage on dev, and every exclusion has a stated reason.
  • CI fails if coverage drops below 100%.
  • The developer docs say how to run the coverage report locally.

Activity

  1. self-assigned this
    on Nov 14, 2026
  2. added
    priority: high
    status: in progress
    type: testing
    workload: days
    on Nov 14, 2026
  3. moved this to In progress in ELIXIR On-Cloudon Nov 14, 2026
  4. moved this from In progress to Done in ELIXIR On-Cloudon Nov 14, 2026
  5. removed
    status: in progress
    on Nov 14, 2026
  6. added this to the v2.0.0 milestone on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

priority: hightype: testingworkload: days

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions