-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Consolidates
- test(unit): Add tests for unleashed-danger.py #1 — test(unit): Add tests for unleashed-danger.py
- test(integration): Complete unleashed.py pending scenarios #2 — test(integration): Complete unleashed.py pending scenarios
- chore: Add automated tests for core pattern matching and key handling #16 — chore: Add automated tests for core pattern matching and key handling
Scope
- Unit tests — pattern matching (
PERMISSION_PATTERNS,MODEL_PAUSE_PATTERNS), ANSI stripping (strip_ansi,mirror_strip_ansi), key mapping (VK_MAP), surrogate normalization - Integration tests — PTY spawn, approval flow, transcript save, mirror/friction logger output
- unleashed-danger.py — approval without safeguards, edge cases
Notes
- research: How does the Claude Code team test their TUI? Terminal wrapper approaches #14 (research: how does Claude Code team test their TUI?) is labeled
discussand informs the approach here - Consider pytest with mock PTY for unit tests, real PTY for integration
- Pattern matching tests are high value — they catch regressions when Claude Code updates their UI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels