diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/next-tests.md | 38 |
1 files changed, 28 insertions, 10 deletions
diff --git a/docs/next-tests.md b/docs/next-tests.md index 9e234dfa..3f85e030 100644 --- a/docs/next-tests.md +++ b/docs/next-tests.md @@ -101,20 +101,38 @@ What the M tests reach into, and the public surface for it: ## Progress -Left to migrate, a file a row (`grep -c '^test "' <file>` before and -after; M as the inventory classed them): +After the first fan-out (2026-11-03: four migrators, each followed by a +reviewer that ran its own breaks; 108 tests in test/behaviour/): -| file | M at the start | moved | checked against | +| area | moved | M left | X kept | |---|---|---|---| -| src/ninep/ctl.zig | 82 | 9, 1 X kept | `collapsed ` left off the ctl read; Putall saving nothing; a look's blanks trimmed; size taking a screen too small | +| src/ninep/ctl.zig, pane.zig | 38 (9 by hand) | about 72 | 6 | +| test/panes.zig | 30 | 15 | 16 | +| src/pardes.zig | 28 | 17 | 36 | +| test/pdf.zig, test/output.zig | 14 | 28 | 13 | -Migrated so far, in test/behaviour/: other_files (kbdin, mousein), panes -(collapsed, name's leading blank, Putall), edit (an Edit block to a pane's -ctl, the root's and exec, one left open at its clunk an err in the log), -look_and_exec (a look's leading blanks, a bare :N), columns_and_tags (a -look after Newcol), root_ctl (size). X, left where it is: a failure said -while a 9P write waits (it checks the 9P server's own flags). +What the M left need, most first: +- **Effects performed:** Session counts a save and drops it; a save + record, /recent after a save, and a terminal's pty bytes come only once + a host performs the effect. A Session option that performs saves (and + keeps pty writes) unlocks a group in each area. +- **A real host (T2):** terminals' output and shells, command panes + finishing, Tty and pty/ctl exec, a missing interpreter. +- **Image panes:** they need the decoder worker Session does not start. +- **LSP:** a fake language server. +- **Not reached yet:** jumps and Back/Forward, Zerox, Get, Restore, + DumpConfig, ThemeFile, and name edge cases. +Traps the migrators found in Session, each now in its tests' code: +- **It never ticks the core,** so a record a step makes (a pane's `new`) + shows in /log only at the next request. +- **A last line with no newline is held until the clunk;** its failure + goes to /log only, and the write reports success. End ctl lines with + `\n`. +- **`write` appends (`>>`); `replace` truncates first (`>`).** +- **`read` sets no `said`.** + +## Phases ## Phases 0. Inventory. Done, above. |
