Commit bc3a488
Add headless test harness for simulated input sequences
TestHarness provides a builder-style API for scripting UI interactions
without a GPU: tap, drag, key, type_text, set_key_mods. It manages
layout, event processing, and state access in view-local coordinates.
13 tests covering: repeated taps, toggle, knob drag, two-view hstack
tap targeting, drag gesture state sequence, tap miss detection, key
events, type_text helper, keyboard modifiers, vertical list item
selection, cond state toggling, and tap action types.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 59f6fc1 commit bc3a488
2 files changed
Lines changed: 472 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
0 commit comments