Files
marqdo-std-text/tests/README.md
cflmy e15256300f migrate: own the text and UTF-8 sources and their baseline assertions
Move the official stdlib text modules to their unique source authority and
freeze the bundle-root paths (std:text, std:text/utf8). text.utf8编码 becomes a
thin wrapper over the single UTF-8 implementation in text/utf8.mq.md.

Carry the pre-migration product assertions into component-owned cases with the
baseline observation terminal values, plus an explicit-input test entry point
(MARQDO_BIN + MARQDO_STDLIB_DIR). No parser, host or CLI change.

Refs cflmy/marqdo#9, cflmy/marqdo-std-text#1
2026-11-26 23:10:18 +08:00

8 lines
629 B
Markdown

# 验收测试
`tests/*.mq.md` 是从迁移前 CLI 官方标准库自测迁入的真实测试源;`tests/cases/*.json` 固定每个测试的输入(stdin、CLI 参数、环境、所需 Bundle 模块)和期望结果(observation 终值、stdout、必要的资源事件)。
运行入口是 `scripts/test.sh`,它要求显式传入 `MARQDO_BIN` 与 `MARQDO_STDLIB_DIR`。缺少制品、Bundle 缺少模块或 digest 校验失败时必须失败,不得回退到其它目录。
期望值取自迁移前基线 CLI 的真实执行结果;任何期望值改动都必须作为公开行为变化单独评审并记录证据。