docs(04-01): complete queue unit tests plan
This commit is contained in:
@@ -37,7 +37,7 @@ Requirements for the consolidation milestone. Each maps to roadmap phases.
|
||||
### Testing
|
||||
|
||||
- [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
|
||||
- [ ] **TEST-02**: Queue package has unit tests covering SetQueue, Next, Previous, shuffle mode, repeat modes, and state persistence (~15-20 tests)
|
||||
- [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)
|
||||
- [ ] **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)
|
||||
- [ ] **TEST-05**: Player pure logic (UserVolume-to-Volume conversion, state serialization, format detection) is extracted into testable functions with unit tests (~5-8 tests)
|
||||
@@ -108,7 +108,7 @@ Which phases cover which requirements. Updated during roadmap creation.
|
||||
| PERF-04 | Phase 3: Test Infrastructure | Complete |
|
||||
| PERF-05 | Phase 8: Frontend Performance & UX | Pending |
|
||||
| TEST-01 | Phase 3: Test Infrastructure | Complete |
|
||||
| TEST-02 | Phase 4: Queue, Config & Player Tests | Pending |
|
||||
| TEST-02 | Phase 4: Queue, Config & Player Tests | Complete |
|
||||
| TEST-03 | Phase 5: Database & Library Tests | Pending |
|
||||
| TEST-04 | Phase 4: Queue, Config & Player Tests | Pending |
|
||||
| TEST-05 | Phase 4: Queue, Config & Player Tests | Pending |
|
||||
|
||||
Reference in New Issue
Block a user