360 Secure SkillHub
360 安全技能中心

bmad-qa-generate-e2e-tests

该 Skill 面向已实现功能,按项目现有测试框架生成端到端和 API 测试;启动时渲染 BMad 工作流并据此执行,项目未配置时提示先完成初始化。不适用于为进行中的改动编写单元测试。

分类:开发
bmad-code-org
热度 72.88
最近更新 2026-10-18 16:47:10

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add bmad-code-org/bmad-method/bmad-qa-generate-e2e-tests
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
bmad-qa-generate-e2e-tests
description
Add end-to-end and API tests for features that already work, following the project's existing test harness. Use when the user asks for e2e tests, API tests, or automated coverage of an existing feature, or says "create qa automated tests for [feature]". Not for unit tests on work in flight, which the build writes.

Run the following command exactly once without changing the current working directory.

Replace {project-root} with the nearest folder containing _bmad/, from the working directory upward. Replace {skill-root} with the absolute path to this skill's directory.

uv run --no-cache "{project-root}/_bmad/scripts/render_skill.py" --project-root "{project-root}" --skill "{skill-root}"
  • The command prints the skill's workflow: follow it. HALT: <reason>: report the reason and stop.
  • If the script does not exist, BMad is not set up in this project yet. Offer to set it up using bmad skill, then run the command again. If you do not have the bmad skill, offer to install it first.
  • On any other output or failure, including uv being unavailable, report the command output and stop. Do not run any workflow source directly.