Full test suite #25

Open
opened 2026-02-08 08:46:52 +13:00 by fastie81 · 1 comment
Owner

Need to create a full test suite to help catch regressions.

Need to create a full test suite to help catch regressions.
Author
Owner

Overall: 58% coverage (2,900/4,998 lines covered), 281 passing, 1 failing.

Key areas by coverage:

Module Coverage Notes
core/entities/models.py 100%
core/auth/ 100%
core/operations/token_ops.py 100%
interfaces/api/rules/belt_colors.py 100%
core/operations/content_ops.py 72% Parent validation, image paths not exercised
core/repositories/postgres_content_repo.py 79% Image ops untested
interfaces/api/rules/content.py 64% Link-preview, image upload/serve untested
core/repositories/postgres_club_repo.py 61% Several belt/grading paths uncovered
core/repositories/postgres_system_repo.py 58% OAuth, token paths
interfaces/api/rules/auth.py 41% Google OAuth flow untested
interfaces/api/rules/user_profile.py 23% Barely tested
core/orchestration/backup_service.py 8% Not tested at all
infrastructure/database/migrations.py 22% Migration functions themselves not invoked in tests
The 1 failure is in test_assign_and_remove_club_admin — unrelated to the current work. That was a pre-existing test issue in the clubs API.

New document to highlight what to do next.

Overall: 58% coverage (2,900/4,998 lines covered), 281 passing, 1 failing. Key areas by coverage: Module Coverage Notes core/entities/models.py 100% core/auth/ 100% core/operations/token_ops.py 100% interfaces/api/rules/belt_colors.py 100% core/operations/content_ops.py 72% Parent validation, image paths not exercised core/repositories/postgres_content_repo.py 79% Image ops untested interfaces/api/rules/content.py 64% Link-preview, image upload/serve untested core/repositories/postgres_club_repo.py 61% Several belt/grading paths uncovered core/repositories/postgres_system_repo.py 58% OAuth, token paths interfaces/api/rules/auth.py 41% Google OAuth flow untested interfaces/api/rules/user_profile.py 23% Barely tested core/orchestration/backup_service.py 8% Not tested at all infrastructure/database/migrations.py 22% Migration functions themselves not invoked in tests The 1 failure is in test_assign_and_remove_club_admin — unrelated to the current work. That was a pre-existing test issue in the clubs API. New document to highlight what to do next.
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.

Dependencies

No dependencies set.

Reference
fastie81/honbu-manager#25
No description provided.