Test coverage gaps: no ViewModel, integration, or modifier system tests #108

Closed
opened 2026-04-04 18:42:45 +02:00 by shahondin1624 · 0 comments
Owner

Description

Current tests cover DamageMonitor, DiceRoll, serialization, and some UI components. Significant gaps exist:

  • No ViewModel tests (auto-save behavior, state management)
  • No integration tests (attribute change → damage recalculation flow)
  • No modifier system tests (cache behavior, modifier accumulation)
  • No UI tests for complex dialogs (CharacterDataEditDialog, ImportCharacterDialog)

Expected Behavior

  • Comprehensive test coverage for critical paths
  • Integration tests for cross-component workflows
  • ViewModel unit tests with mocked dependencies

Acceptance Criteria

  • ViewModel tests for save/load/error paths
  • Integration test: modify attribute → verify damage monitor updates
  • Modifier system tests: cache hits, accumulation, type safety
  • UI tests for edit dialogs with validation
  • Test coverage report available
## Description Current tests cover DamageMonitor, DiceRoll, serialization, and some UI components. Significant gaps exist: - No ViewModel tests (auto-save behavior, state management) - No integration tests (attribute change → damage recalculation flow) - No modifier system tests (cache behavior, modifier accumulation) - No UI tests for complex dialogs (CharacterDataEditDialog, ImportCharacterDialog) ## Expected Behavior - Comprehensive test coverage for critical paths - Integration tests for cross-component workflows - ViewModel unit tests with mocked dependencies ## Acceptance Criteria - [ ] ViewModel tests for save/load/error paths - [ ] Integration test: modify attribute → verify damage monitor updates - [ ] Modifier system tests: cache hits, accumulation, type safety - [ ] UI tests for edit dialogs with validation - [ ] Test coverage report available
shahondin1624 added the epic:testingpriority:should-havetype:architecture labels 2026-04-04 18:42:45 +02:00
Sign in to join this conversation.