ReviewOS

also looking at this

zig-utils/zig-test-framework

Implement the web UI server with Zig I/O

#26
Merged glennmichael123 wants to merge codex/issue-9-ui-server into main
8 files +513 -114
README.mdmodified+5-1
Changes to README.md
@@ -105,12 +105,13 @@ This will automatically discover and run all `*.test.zig` files in the `tests` d
105105- `--shard-index <N>` - Run one one-based file shard
106106- `--shard-count <N>` - Set the total number of file shards
107107- `--no-color` - Disable color in child Zig test processes
108- `--ui` - Serve the live test UI (configure it with `--ui-host` and `--ui-port`)
108109- `--verbose` - Show detailed output
109110
110111Discovery and programmatic execution share the same test-plan, lifecycle,
111112result, and reporter model. Discovery still rejects options it cannot honor
112113instead of silently ignoring them: quiet output, parallel jobs, snapshot
113updates, memory profiling, and the web UI remain programmatic-only. See
114updates, and memory profiling remain programmatic-only. See
114115[the execution pipeline architecture](docs/execution-pipeline.md) for extension
115116points, timeout semantics, and migration guidance.
116117
@@ -129,6 +130,9 @@ zig-test --test-dir tests --no-recursive
129130# Stop on first failure
130131zig-test --test-dir tests --bail
131132
133# Watch tests in the live web UI
134zig-test --test-dir tests --ui --watch
135
132136# Retry failures twice and fail CI if any test is flaky
133137zig-test --test-dir tests --retry 2 --fail-on-flaky
134138