migrate: own format/io/console/stream sources and preserve the print alias target
Move the official stdlib IO modules to their unique source authority and keep the frozen public paths, including io.mq.md#写值 as the official print/打印 alias target. Carry the pre-migration product assertions into component cases with real resource-endpoint evidence for console. Refs cflmy/marqdo#9, cflmy/marqdo-std-io#1
This commit was merged in pull request #2.
This commit is contained in:
1 parent
945e76eed8
commit
e18b0b1b40
16 files changed
+1043
-6
No files matched your search
+5
-1
@@ -1,3 +1,7 @@
|
||||
# 验收测试
|
||||
|
||||
首个功能附带正例和失败用例,记录所用 CLI 提交或发行版本以及实际运行命令。
|
||||
`tests/*.mq.md` 是从迁移前 CLI 官方标准库自测迁入的真实测试源;`tests/cases/*.json` 固定每个测试的输入(stdin、CLI 参数、环境、所需 Bundle 模块)和期望结果(observation 终值、stdout、必要的资源事件)。
|
||||
|
||||
运行入口是 `scripts/test.sh`,它要求显式传入 `MARQDO_BIN` 与 `MARQDO_STDLIB_DIR`。缺少制品、Bundle 缺少模块或 digest 校验失败时必须失败,不得回退到其它目录。
|
||||
|
||||
期望值取自迁移前基线 Bundle(`sha256:5407d36...`)与已验证候选 CLI 的真实执行结果;任何期望值改动都必须作为公开行为变化单独评审并记录证据。
|
||||
Reference in new issue
Block a user