diff options
| author | Gabriel Schneider <[email protected]> | 2026-10-28 21:54:47 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-28 21:59:19 -0300 |
| commit | 2e237ef20b6a5d9f680d80a560d144c0f67dff91 (patch) | |
| tree | 3be4ee40d4611e88761843473c3296be1853ede2 /test/gui_monkey.py | |
| parent | 30b7fd64b4b819abafd293f4ef45bf8ece3082e2 (diff) | |
| download | pardes-2e237ef20b6a5d9f680d80a560d144c0f67dff91.tar.gz pardes-2e237ef20b6a5d9f680d80a560d144c0f67dff91.zip | |
kitty fuzz: seeded random kitty traffic through a terminal pane (test/kitty.zig), in kitty-test and unit-test
Commands with any action, keys and values (huge, negative, zero, junk), payloads valid and broken (base64, a cut PNG), CAN, SUB and ESC mid-command, half of them loads and placements with random geometry so they reach the storage and the frame; placeholders with every diacritic, 24-bit and 256-colour ids and underline-colour placements; cursor moves, scroll regions, insert/delete lines, ED 2/3, the alternate screen; window and cell-size resizes and grid resizes; frames between; every batch split into reads anywhere. Each seed checks no crash, no leak (the testing allocator) and that every answer parses as a whole ESC _ G ... ESC \ or CSI. A bad answer shrinks to its shortest failing prefix; PARDES_KITTY_FUZZ=<seeds>, PARDES_KITTY_FUZZ_SEED and PARDES_KITTY_FUZZ_STEPS for long runs and replays.
Found nothing: 900 seeds of 400 steps pass, with frames drawing up to 42 places.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'test/gui_monkey.py')
0 files changed, 0 insertions, 0 deletions
