feat(test): ludic test <dir>, each test block in a process of its own

A directory stands for its *_test.ludic files and the files straight
inside any tests/ under it. The runner answers --list and runs one test
by name, and ludic test runs every block in a child process, so tests
no longer share globals. A failed expect names the file it is written
in (the path the compiler was given) and its line. Reseed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Orkun ÇAKILKAYA 2026-09-25 04:39:55 +03:00
parent 8075892e0e
commit 9faaa2094d
8 changed files with 19724 additions and 19278 deletions

View file

@ -0,0 +1,7 @@
bump: minor
type: feature
**`ludic test <dir>`, and every test block in a fresh process.** A directory stands for the
`*_test.ludic` files under it and the files straight inside any `tests/` directory under it. Each
`test` block now runs in a child process of its own (the runner answers `--list` and runs one test
by name), so tests no longer share globals; a file's line says how many tests it ran. A failed
`expect` names the file it is written in, not only the base name of the program's root.