Files
ssw-mvp/docs/e2e/cases/TC-DOC-007.mjs
T
admin 3247e9fd15 init: ssw-mvp initial commit
- boot/ (Java/Maven, JNPF 7.0) — 移除旧的 boot/.git,源码直接纳入仓库
- web/ (Vue 3 + Vite + Ant Design Vue, pnpm)
- docs/, scard/, nax/
- refs/INDEX.md + refs/国标/(其余 refs/* 开源子仓库不纳入)
- 已忽略: connector_data/, jweb/, log/, web/{dist,node_modules,.pnpm}, boot/*/target/, .DS_Store, .idea, .vscode
2026-08-05 18:29:12 +08:00

21 lines
989 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* TC-DOC-007 · 关键功能指导完备
* Q-DOC 文档完整性 · 正向 · P1
* 预期:文档对系统各关键功能提供完备的操作指导
*/
export const meta = { tc: 'TC-DOC-007', req: 'Q-DOC', title: '关键功能指导完备', type: '正向', priority: 'P1', needs: ['manual'] }
export async function run(t) {
// 自动化部分:核对子系统的需求/领域模型文档存在
const fs = await import('node:fs')
for (const f of ['tds/REQUIREMENTS.md', 'tdc/REQUIREMENTS.md', 'sswflow/NAX_ENGINE.md']) {
t.assert(fs.existsSync('../' + f), `${f} 存在并描述关键功能`)
}
t.manual([
'人工核对关键功能指导:',
'1) 数字合约双签与状态流转 —— docs/tds/REQUIREMENTS.md;',
'2) 隐私计算流程编排 —— docs/sswflow/NAX_ENGINE.md;',
'3) 连接器注册/审批/心跳/注销 —— docs/tdc/REQUIREMENTS.md;',
'4) 飞梭链存证 —— docs/tdd/P1P2_CHAIN_K8S_REPORT.md。'
].join('\n'))
}