test: add unit tests for roles, web deps, use cases, VO boundaries — reach 70% coverage
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
Some checks failed
ci/woodpecker/pr/pipeline Pipeline failed
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user