Files
marqdo-ext-archive/tests/README.md
cflmy aba6b60934 migrate: own the gzip domain module as an explicit package
Move the pre-migration compress.mq.md content into this repository's package
entry. The module leaves the default Bundle and is consumed through the
explicit @compress package import; the baseline gzip/gunzip behaviour and the
original test terminal value are preserved, and the CLI host ops stay put.

Refs cflmy/marqdo#9, cflmy/marqdo-ext-archive#1
2026-11-27 00:08:16 +08:00

8 lines
730 B
Markdown

# 验收测试
`tests/*.mq.md` 是从迁移前 CLI 官方标准库自测迁入的真实测试源,导入已改为公开 Package 别名(`@alias`);`tests/cases/*.json` 固定输入(stdin、CLI 参数、环境、依赖别名)与期望结果(observation 终值、stdout)。
运行入口是 `scripts/test.sh`,要求显式传入 `MARQDO_BIN` 与 `MARQDO_STDLIB_DIR`。运行器为每个 case 建立临时消费者工程(`dependencies.<alias>.path` 指向本仓 Package 副本),先 `marqdo lock` 再通过公开 `@alias` 导入执行,不读取兄弟仓路径或浮动分支。
期望值取自迁移前基线 Bundle 的真实执行结果;修改期望值等于声明公开行为变化,必须单独评审。