test(unit): add roles, web deps, use cases, VO boundary tests — reach 70% coverage
Some checks failed
ci/woodpecker/pr/pipeline Pipeline was canceled

This commit is contained in:
2026-05-09 19:51:41 +03:00
parent 7270d544a5
commit 6eddde5c70
11 changed files with 465 additions and 7 deletions

View File

@@ -265,8 +265,8 @@ Covers both API use cases and web UI end-to-end flows.
## Gaps (Not Yet Covered)
- [ ] TC-UNIT-023: CreatePostUseCase — explicit validation error (title too short, content empty)
- [ ] TC-UNIT-024: UpdatePostUseCase — not found scenario
- [ ] TC-UNIT-025: UpdatePostUseCase — validation error
- [x] TC-UNIT-024: UpdatePostUseCase — not found scenario
- [x] TC-UNIT-025: UpdatePostUseCase — content and tags update
- [ ] TC-UNIT-026: ListPostsUseCase — pagination edge cases (page boundaries, empty page)
- [x] TC-E2E-003: 404 error page for nonexistent post
- [x] TC-E2E-003a: Edit post via web UI and verify changes (own post)