giles
aab1f3e966
Modular test architecture: per-module test specs for SX
Split monolithic test.sx into composable test specs:
- test-framework.sx: deftest/defsuite macros + assertion helpers
- test-eval.sx: core evaluator + primitives (81 tests)
- test-parser.sx: parser + serializer + round-trips (39 tests)
- test-router.sx: route matching from router.sx (18 tests)
- test-render.sx: HTML adapter rendering (23 tests)
Runners auto-discover specs and test whatever bootstrapped code
is available. Usage: `run.js eval parser router` or just `run.js`.
Legacy mode (`--legacy`) still runs monolithic test.sx.
Router tests use bootstrapped functions (sx_ref.py / sx-browser.js)
because the hand-written evaluator's flat-dict env model doesn't
support set! mutation across lambda closure boundaries.
JS: 161/161. Python: 159/161 (2 parser escape bugs found).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-07 12:17:13 +00:00
..
2026-03-07 12:17:13 +00:00
2026-03-05 16:12:38 +00:00
2026-03-07 12:17:13 +00:00
2026-03-06 01:45:29 +00:00
2026-03-06 13:19:17 +00:00
2026-03-06 12:41:38 +00:00
2026-03-06 13:19:17 +00:00
2026-03-06 01:16:16 +00:00
2026-03-05 22:17:26 +00:00
2026-03-07 09:14:07 +00:00
2026-03-05 09:25:28 +00:00
2026-03-07 08:12:42 +00:00
2026-03-04 19:30:45 +00:00
2026-03-05 09:25:28 +00:00
2026-03-07 09:51:51 +00:00
2026-03-06 01:44:50 +00:00
2026-03-06 01:45:29 +00:00
2026-03-07 11:03:46 +00:00
2026-03-06 01:45:29 +00:00
2026-03-07 10:41:53 +00:00
2026-03-05 22:17:26 +00:00
2026-03-05 23:50:02 +00:00
2026-03-06 13:19:17 +00:00