Unit & UI Tests #23

Open
opened 2026-06-24 00:27:51 +00:00 by echo · 0 comments
Owner

Add comprehensive test coverage across the project using Swift Testing framework.

Scope:

  • Unit tests for LuminateCore:
    • JellyfinClient - auth, item fetching, search, playback reporting (mocked network)
    • ImageService - cache hit/miss, disk persistence, eviction
    • SQLiteStore - CRUD, migration, concurrent access
    • WebSocketClient - connection lifecycle, message parsing
    • BaseItemDto+Display - helper methods, formatting
  • UI/snapshot tests for key views:
    • HomeView, MovieDetailView, TVShowView, SearchView
    • ServerSetupView login flow
  • Achieve at least 60% code coverage

Done when:

  • swift test passes with all tests
  • Coverage report shows >= 60%
Add comprehensive test coverage across the project using Swift Testing framework. **Scope:** - Unit tests for `LuminateCore`: - `JellyfinClient` - auth, item fetching, search, playback reporting (mocked network) - `ImageService` - cache hit/miss, disk persistence, eviction - `SQLiteStore` - CRUD, migration, concurrent access - `WebSocketClient` - connection lifecycle, message parsing - `BaseItemDto+Display` - helper methods, formatting - UI/snapshot tests for key views: - `HomeView`, `MovieDetailView`, `TVShowView`, `SearchView` - `ServerSetupView` login flow - Achieve at least 60% code coverage **Done when:** - `swift test` passes with all tests - Coverage report shows >= 60%
echo added the
enhancement
test
label 2026-06-24 00:28:24 +00:00
echo added this to the 0.1.0 alpha milestone 2026-06-24 00:28:35 +00:00
Sign in to join this conversation.
No description provided.