Files
ss-tools/specs/019-superset-ux-redesign/tests/coverage.md
2026-02-23 10:18:56 +03:00

36 lines
2.3 KiB
Markdown

# Coverage Matrix: 019-superset-ux-redesign
**Date**: 2026-02-21
**Executed by**: Tester Agent
## Coverage Matrix
| Module | File | Has Tests | TIER | TEST_DATA Available | Notes |
|--------|------|-----------|------|---------------------|-------|
| SidebarStore | `frontend/src/lib/stores/sidebar.js` | ✅ | STANDARD | N/A | Store state, toggle, mobile, persistence covered |
| TaskDrawerStore | `frontend/src/lib/stores/taskDrawer.js` | ✅ | CRITICAL | ⚠️ Not defined in semantics/contracts | Open/close, mapping, retrieval covered |
| ActivityStore | `frontend/src/lib/stores/activity.js` | ✅ | STANDARD | N/A | Active count and recent task derivation covered |
| Sidebar | `frontend/src/lib/components/layout/Sidebar.svelte` | ✅ | CRITICAL | ⚠️ Not defined in semantics/contracts | UX state/store integration tests present |
| TaskDrawer | `frontend/src/lib/components/layout/TaskDrawer.svelte` | ✅ | CRITICAL | ⚠️ Not defined in semantics/contracts | Drawer state and resource-task interactions covered |
| TopNavbar | `frontend/src/lib/components/layout/TopNavbar.svelte` | ✅ | CRITICAL | ⚠️ Not defined in semantics/contracts | Activity/store integration and UX behaviors covered |
| Breadcrumbs | `frontend/src/lib/components/layout/Breadcrumbs.svelte` | ✅ | STANDARD | N/A | Added contract + truncation/label logic tests |
| DashboardsAPI | `backend/src/api/routes/dashboards.py` | ✅ | CRITICAL | ⚠️ Not defined in semantics/contracts | Existing backend tests present (not executed in this cycle) |
| DatasetsAPI | `backend/src/api/routes/datasets.py` | ✅ | CRITICAL | ⚠️ Not defined in semantics/contracts | Existing backend tests present (not executed in this cycle) |
| ResourceService | `backend/src/services/resource_service.py` | ✅ | STANDARD | N/A | Existing backend tests present (not executed in this cycle) |
## Current Frontend Test Execution Snapshot
- Test files: **9 passed**
- Tests: **82 passed**
- Failed: **0**
- Skipped: **0**
Command:
```bash
cd frontend && npm run test
```
## Observations
- No explicit `@TEST_DATA` fixtures were found for CRITICAL modules in `.ai/standards/semantics.md`; this file defines format requirements only.
- Coverage gap addressed: missing tests for `Breadcrumbs.svelte` added in co-located `__tests__` directory.