Files
Nexus/docs/changelog/2026-06-08-full-site-testing-strategy.md
T
Nexus Agent 0f6f91e61a fix(api): align alerts/commands contracts and ship full-site test suite.
Restore alert history filters and stats fields, paginate command/session logs for the SPA, show script labels on schedules, and land integration/E2E coverage with rebuilt web assets.
2026-06-09 02:13:13 +08:00

1.0 KiB
Raw Blame History

2026-06-08 — 全站测试体系规划

摘要

新增四层测试金字塔(单元 / 集成 / 链条 / UI E2E+ Agent MCP 浏览器探索层的设计、实施计划与 152 条编号用例矩阵

动机

用户要求全站补齐单元、集成、链条测试,并由 Agent 通过 MCP 在页面上执行可重复点页用例;现有 ~60 pytest 与 15 条 Playwright 冒烟缺少系统编号与链条覆盖。

涉及文件

  • docs/design/specs/2026-06-08-full-site-testing-strategy-design.md
  • docs/design/plans/2026-06-08-full-site-testing-strategy.md
  • docs/testing/test-case-matrix.md
  • docs/testing/mcp-browser-playbook.md

迁移/重启

无代码变更,无需部署。

验证

  • 文档内命令与现有 scripts/run_nexus_acceptance.pyfrontend/e2e/full-acceptance.spec.mjs 路径一致
  • 用例矩阵与现有 tests/test_*.py 映射已标注 /🔲

后续

按 Phase 15 实施:先补 E2E-SRV-002IT-PUSH-001CH-PUSH-001,再拆 tests/unit 目录。