Skip to content

Testing: Add window management and config restore test coverage #115

@malpern

Description

@malpern

Problem

Missing tests for several critical features:

  • End-to-end window movement
  • Display/Space switching
  • Permission checking flows
  • ActionDispatcher window actions
  • Kanata TCP → window action integration
  • Configuration restore
  • WindowKeyConvention persistence

Existing Tests

  • WindowPosition enum (13 positions)
  • Frame calculations
  • CGS type sizes
  • Chord groups (69 tests)
  • Rule collections (extensive)

Impact

Risk of regressions in uncovered areas.

Fix

  1. Add integration tests for window management
  2. Add tests for config restore flow
  3. Add tests for permission checking
  4. Add tests for WindowKeyConvention persistence

References

  • Comprehensive review: docs/code-review/comprehensive-feature-review.md section TEST COVERAGE GAPS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions