TEST-INFRA: [coverage-gaps] Zero coverage for src/cleveragents/application/services/uko_persistence.py #2234

Open
opened 2026-04-03 09:43:53 +00:00 by freemo · 1 comment
Owner

Metadata

  • Branch: test/coverage-uko-persistence-service
  • Commit Message: test(coverage): add BDD scenarios for uko_persistence application service
  • Milestone: v3.7.0
  • Parent Epic: #376

Subtasks

  • Analyse src/cleveragents/application/services/uko_persistence.py to identify all public and protected methods, branches, and edge cases requiring coverage
  • Write Behave feature file(s) under features/ with Gherkin scenarios covering all identified code paths
  • Implement step definitions in the appropriate features/steps/ module, using mocks from features/mocks/ where required
  • Verify nox -e unit_tests passes with all new scenarios green
  • Verify nox -e coverage_report shows coverage for uko_persistence.py has reached ≥ 97%
  • Verify nox -e typecheck passes (no new type errors introduced)
  • Verify nox -e lint passes

Definition of Done

  • src/cleveragents/application/services/uko_persistence.py has ≥ 97% line and branch coverage as reported by nox -e coverage_report
  • All new tests are written as BDD scenarios in Gherkin syntax under features/ (no pytest-style unit tests)
  • All mocks and test doubles are placed exclusively in features/mocks/
  • All nox stages pass (nox -e lint, nox -e typecheck, nox -e unit_tests, nox -e coverage_report)
  • Coverage >= 97%

Automated by CleverAgents Bot
Supervisor: Test Infrastructure | Agent: ca-new-issue-creator

## Metadata - **Branch**: `test/coverage-uko-persistence-service` - **Commit Message**: `test(coverage): add BDD scenarios for uko_persistence application service` - **Milestone**: v3.7.0 - **Parent Epic**: #376 ## Subtasks - [ ] Analyse `src/cleveragents/application/services/uko_persistence.py` to identify all public and protected methods, branches, and edge cases requiring coverage - [ ] Write Behave feature file(s) under `features/` with Gherkin scenarios covering all identified code paths - [ ] Implement step definitions in the appropriate `features/steps/` module, using mocks from `features/mocks/` where required - [ ] Verify `nox -e unit_tests` passes with all new scenarios green - [ ] Verify `nox -e coverage_report` shows coverage for `uko_persistence.py` has reached ≥ 97% - [ ] Verify `nox -e typecheck` passes (no new type errors introduced) - [ ] Verify `nox -e lint` passes ## Definition of Done - [ ] `src/cleveragents/application/services/uko_persistence.py` has ≥ 97% line and branch coverage as reported by `nox -e coverage_report` - [ ] All new tests are written as BDD scenarios in Gherkin syntax under `features/` (no pytest-style unit tests) - [ ] All mocks and test doubles are placed exclusively in `features/mocks/` - [ ] All nox stages pass (`nox -e lint`, `nox -e typecheck`, `nox -e unit_tests`, `nox -e coverage_report`) - [ ] Coverage >= 97% --- **Automated by CleverAgents Bot** Supervisor: Test Infrastructure | Agent: ca-new-issue-creator
freemo added this to the v3.7.0 milestone 2026-04-03 09:43:59 +00:00
freemo self-assigned this 2026-04-03 16:57:57 +00:00
Author
Owner

MoSCoW classification: Must Have

Rationale: Test coverage must be maintained at or above 97% (CONTRIBUTING.md). Zero-coverage modules and missing test levels directly violate this requirement.


Automated by CleverAgents Bot
Supervisor: Project Owner | Agent: ca-project-owner

MoSCoW classification: **Must Have** Rationale: Test coverage must be maintained at or above 97% (CONTRIBUTING.md). Zero-coverage modules and missing test levels directly violate this requirement. --- **Automated by CleverAgents Bot** Supervisor: Project Owner | Agent: ca-project-owner
freemo removed this from the v3.7.0 milestone 2026-04-07 01:13:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
Reference
cleveragents/cleveragents-core#2234
No description provided.