summaryrefslogtreecommitdiff
path: root/docs/typ
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-04 21:29:23 -0300
committerGabriel Schneider <[email protected]>2026-11-04 21:29:23 -0300
commit528a66cc720b25252a497adeb358e729dc8f3a62 (patch)
tree872890f4f70d8a1ef07eba9a0f6fe72b491ee883 /docs/typ
parente67a1a561d9a9a7269bcc7c9af5678d3f50a95cb (diff)
downloadpardes-528a66cc720b25252a497adeb358e729dc8f3a62.tar.gz
pardes-528a66cc720b25252a497adeb358e729dc8f3a62.zip
test: the window's own tests in Zig (T4, test/process/window.zig), gui_monkey.py and gui_golden.py gone: the monkey drives the hidden window's own input (Detached.typeKeys into its pty, Detached.mouse's OSC 777 events) with clicks, drags, wheels, hovers and keys, and columns, looks, Joincol, Collapse, Delcol and themes over 9P, then the window must settle, alive, with no crash record (two combinations of 30 steps in process-test, all 40 Motion x Lift x Bloom with zig build monkey-gui -Dplatform=gui); the goldens hash the 17 scenes' frames (Detached.capture, a transition's frame 6 too) against test/gui-goldens.txt, regenerated for the offscreen window and twice reproduced, run when asked (zig build gui-golden -Dplatform=gui, PARDES_GUI_GOLDEN=update); Detached's init file, settle and capture; no Python step left in the build
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'docs/typ')
-rw-r--r--docs/typ/building.typ7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/typ/building.typ b/docs/typ/building.typ
index 24229f08..99a83589 100644
--- a/docs/typ/building.typ
+++ b/docs/typ/building.typ
@@ -80,7 +80,10 @@ zig build kitty-harness kitty graphics through a pane end to end (a fake kitt
zig build syntax-test tree-sitter tests without building the editor
zig build syntax deterministic per-byte highlighting snapshots
zig build behaviour-test behaviour through the 9P tree, in process (test/behaviour/)
-zig build process-test real sessions over their sockets: mounts, flags, shells (test/process/)
+zig build process-test real sessions over their sockets: mounts, flags, shells (test/process/);
+ -Dplatform=gui runs each case on the hidden window instead
+zig build monkey-gui random input to the hidden window, every effect setting (-Dplatform=gui)
+zig build gui-golden the hidden window's scenes against this machine's goldens (-Dplatform=gui)
zig build monkey-session random in-process 9P requests checking the documented rules
zig build 9p-test freestanding protocol tests
zig build 9p-io-test native 9P transports and client
@@ -128,7 +131,7 @@ zig build cheatsheet render the cheatsheet PDF (needs typst)
A release passes all of these first: `unit-test` with `-Dplatform=tui` and
with `-Dplatform=gui`, `core-test`, `behaviour-test`, `process-test`, `snap`, the GUI goldens
-(`python3 -B test/gui_golden.py <a Debug pardes-gui>`, a hidden window),
+(`zig build gui-golden -Dplatform=gui`, a hidden window; `PARDES_GUI_GOLDEN=update` rewrites them),
`web`, and the ReleaseSafe tui and ReleaseFast gui builds. The committed
`docs/typ/cheatsheet-a4.pdf` is rendered again when the docs change.