docs(05-01): complete FTS5 search tests plan

- SUMMARY.md: 15 tests, 9min duration, 2 deviations documented
- STATE.md: Phase 5 fully complete, 84 total tests
- REQUIREMENTS.md: TEST-03 marked complete
This commit is contained in:
2026-03-04 16:45:25 -05:00
parent dd34569ac0
commit 7804752d45
3 changed files with 132 additions and 13 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ Requirements for the consolidation milestone. Each maps to roadmap phases.
- [x] **TEST-01**: In-memory SQLite test helper (database.NewTestDB) exists, applies same migrations and PRAGMAs as production NewDB, returns a clean DB per test
- [x] **TEST-02**: Queue package has unit tests covering SetQueue, Next, Previous, shuffle mode, repeat modes, and state persistence (~15-20 tests)
- [ ] **TEST-03**: Database package has unit tests covering FTS5 search queries (basic, empty, special characters), search index rebuild, and schema migrations (~10-15 tests)
- [x] **TEST-03**: Database package has unit tests covering FTS5 search queries (basic, empty, special characters), search index rebuild, and schema migrations (~10-15 tests)
- [x] **TEST-04**: Config package has unit tests covering load/save roundtrip, validation rules, default application, and behavior with missing/empty config files (~8-10 tests)
- [x] **TEST-05**: Player pure logic (UserVolume-to-Volume conversion, state serialization, format detection) is extracted into testable functions with unit tests (~5-8 tests)
- [x] **TEST-06**: Library scan logic has unit tests covering metadata processing, entity cache behavior, and orphan cleanup (~10-15 tests)
@@ -109,7 +109,7 @@ Which phases cover which requirements. Updated during roadmap creation.
| PERF-05 | Phase 8: Frontend Performance & UX | Pending |
| TEST-01 | Phase 3: Test Infrastructure | Complete |
| TEST-02 | Phase 4: Queue, Config & Player Tests | Complete |
| TEST-03 | Phase 5: Database & Library Tests | Pending |
| TEST-03 | Phase 5: Database & Library Tests | Complete |
| TEST-04 | Phase 4: Queue, Config & Player Tests | Complete |
| TEST-05 | Phase 4: Queue, Config & Player Tests | Complete |
| TEST-06 | Phase 5: Database & Library Tests | Complete |