26 lines
810 B
Markdown
26 lines
810 B
Markdown
|
|
# Task ID: 155
|
||
|
|
|
||
|
|
**Title:** Smoke tests for Epic/EpicTask/Task CRUD
|
||
|
|
|
||
|
|
**Status:** pending
|
||
|
|
|
||
|
|
**Dependencies:** 126, 128, 131
|
||
|
|
|
||
|
|
**Priority:** medium
|
||
|
|
|
||
|
|
**Description:** Create smoke tests for vision layer resources against live mcpd
|
||
|
|
|
||
|
|
**Details:**
|
||
|
|
|
||
|
|
Create src/mcplocal/tests/smoke/epic.smoke.test.ts:
|
||
|
|
1. Follow personality.smoke.test.ts pattern: Date.now().toString(36) name suffix, healthz() preflight that skips when daemon unreachable, mcpctl --direct shelling, explicit afterAll cleanup
|
||
|
|
2. Test Epic create/list/describe/delete
|
||
|
|
3. Test EpicTask create with edge dependencies
|
||
|
|
4. Test Task create linked to EpicTask
|
||
|
|
5. Verify cascade: delete Epic removes EpicTasks and Tasks
|
||
|
|
6. When test fails, fix environment not assertion
|
||
|
|
|
||
|
|
**Test Strategy:**
|
||
|
|
|
||
|
|
Run against live mcpd instance. Tests self-document expected behavior.
|