ludic/changes/test-per-process.md
Orkuncakilkaya 9faaa2094d 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>
2026-09-25 04:39:55 +03:00

7 lines
498 B
Markdown

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.