mcpField
A
automation-testing

automation-testing

github.com/naodengTesting & quality285127 installsUpdated today
Repository

About automation-testing

A skill for evaluating and planning test automation in real projects. It weighs risk, evidence, observability, data isolation, stability, and fit with existing frameworks before recommending what to automate or defer.

Key features

  1. 01Risk- and evidence-based selection
  2. 02Checks framework fit and observability
  3. 03Considers data isolation and cleanup
  4. 04Defines failure signals and teardown
  5. 05Separates candidates from execution and acceptance

Use cases

  1. 01Choosing scenarios for test automation
  2. 02Assessing whether tests are ready for CI
  3. 03Deferring unstable or unsafe scenarios with conditions

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/naodeng/awesome-qa-skills --skill automation-testing

After installing, type/automation-testingin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

output-formats.md
quick-start.md
agents/
openai.yaml
evals/
eval.yaml
evals/cases/
basic-success.yaml
domain-method-regression.yaml
edge-domain-boundary.yaml
edge-incomplete-input.yaml
evals/fixtures/
check_domain_decisions.py
check-domain-decisions.sh
domain-oracle.json
examples/selenium-pom-python/
conftest.py
pytest.ini
README.md
requirements.txt
examples/selenium-pom-python/config/
config.py
examples/selenium-pom-python/pages/
__init__.py
base_page.py
home_page.py
login_page.py
examples/selenium-pom-python/tests/
__init__.py
test_login.py
test_product.py
output-templates/
template-csv.csv
template-excel.tsv
template-json.json
template-markdown.md
template-word.md
template-xmind.md
prompts/
automation-testing.md

Details

From the project README

自动化测试(中文版)

英文版: 见对应英文技能。

何时使用

  • 需要在真实项目里处理 automation testing 相关任务。
  • 需要一份可以直接用于执行、评审或跟进的结果。

执行流程

  1. 阅读并遵循「按需加载」中的主提示词(覆盖清单、输出结构、质量要求)。
  2. 只补充真正影响结果的项目上下文:范围、环境、限制、风险、依赖、期望产出。
  3. 信息不全时先给可用初版,并显式标出假设与信息缺口。
  4. 默认 Markdown;用户指定其他格式时再切换。

领域执行要点

  1. 用 候选流程 | 保护义务 | 重复频率证据 | oracle/可观测性 | 数据隔离/清理 | 稳定性 | 维护约束 | 采用/延期理由 表选型;ROI 另列成本情景,不能抵消缺 oracle 或无授权环境。
  2. 优先沿用现有框架;先检查是否有可核对后置条件、可独立数据和可传播失败的 CI 入口,不满足者延期并写解除条件。
  3. 执行场景包含唯一账号/业务键、前置状态、动作、业务后置条件、失败信号和 teardown;失败必须让 runner/CI 失败,不能仅记录日志。
  4. 区分自动化候选、生成资产、真实运行与业务验收;频繁变化的原型或无法隔离的真实扣款保留人工/受控验证候选,取舍由风险和证据说明。

核心约束

  • 按风险/业务影响排优先级,不要平均摊铺。
  • 把「已确认事实」和「当前假设」分开写。
  • 不要编造用户未提供的接口、字段、环境或根因细节。
  • 结果必须可执行:场景具体、有优先级、能指导下一步。

按需加载

  • 校准领域结果、正确对照或证据缺口时,读取 references/domain-decision-example.md 的脱敏输入、逐项预期与复算依据。

  • 产出前必须阅读并遵循 prompts/automation-testing.md(最低覆盖清单、输出结构、质量要求)。

  • 需要 Excel/CSV/JSON/Word 等格式时:读 output-formats.md,并按用户格式要求输出。

  • 需要套用现成模板时:读 output-templates/ 中匹配的模板,不要自创冲突结构。

  • 用户要示例或对标现有资产时:读 examples/ 中相关样例。

  • 需要框架规范、排障、报告 schema 等深资料时:只读 references/ 里与当前问题相关的文件,不要整目录通读。

  • 需要格式转换或辅助校验时:优先使用 scripts/ 中已有脚本,而不是重写一遍。

  • 需要评测/回归本 skill 时:使用 evals/,并用 skill-up 校验与运行。

  • 用户只要最短上手路径时:读 quick-start.md。

交付前自检

  • 已遵循主提示词的输出结构
  • 最低覆盖关注:范围和目标、适合自动化的部分、暂不自动化的部分、风险和收益优先级、与现有框架的匹配、环境和数据需求、不稳定测试风险、CI 或执行方式…(细节以主提示词为准)
  • 已覆盖最低清单,或标明为何省略
  • 高风险项有明确优先级
  • 未编造用户未提供的细节
  • 假设与信息缺口已标明

常见误区

  • 范围和上下文都不清楚时,不要假装已经完整可用。
  • 不要把所有项写成同等重要。
  • 不要跳过假设与信息缺口。
  • 不要输出大段与当前工具链无关的空泛理论。

Comments

Markdown supported