Skip to content
Back to skills

Pairwise Testing

ASecurity

Use this skill when you need to identify interactions that need at least pairwise coverage after factors, values, and constraints are explicit; triggers include 成对组合测试设计 and pairwise test design.

  • 313 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added November 6, 2026
ai-agentsgotestinggit

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned November 6, 2026

npx -y skills add naodeng/awesome-qa-skills --skill pairwise-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pairwise Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pairwise Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/naodeng-pairwise-testing-awesome-qa-skills/badge)](https://www.skillsdirectory.com/skills/naodeng-pairwise-testing-awesome-qa-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pairwise-testing
description: Use this skill when you need to identify interactions that need at least pairwise coverage after factors, values, and constraints are explicit; triggers include 成对组合测试设计 and pairwise test design.
license: PolyForm-Noncommercial-1.0.0
metadata:
  version: "1.0.0"
  compatibility: ""
  author: "Awesome QA Skills contributors"
  language: "zh-CN"
  category: "testing-types"
  source: "https://github.com/naodeng/awesome-qa-skills"
  license-url: "https://polyformproject.org/licenses/noncommercial/1.0.0"
---

# 成对组合测试设计

在明确因素、取值和约束后识别需要至少成对覆盖的交互候选,输出 PWT-## 发现。它只整理可追溯的测试设计候选,不执行测试,也不把设计清单写成覆盖、通过或发布证据。

## 何时使用

- 需要从 测试因素、每个因素的取值、组合约束、平台/角色维度、风险证据和已有组合 中提取 成对组合测试设计 候选。
- 需要解释选择理由、适用约束、证据缺口和最小验证动作。
- 材料不完整但仍要交付受限初版,并明确 blocked 或 unassessed 边界。

不适用于直接执行测试、生成无来源规则、替代完整测试策略或替 Human 接受风险。

## 输出格式选项

- 默认输出 Markdown;表格、JSON 或 CSV 仅在用户明确需要或现有交付格式要求时使用。
- 把静态分析、未执行项、证据状态和 Human 决策分开;没有运行证据时保持 unassessed、blocked 或 NOT_RUN。

## 如何使用

1. 阅读 prompts/pairwise-testing.md,并提供目标、范围、材料、环境和已有证据。
2. 先完成 known、missing、conflicting、stale、out_of_scope、assumptions 六类输入审计。
3. 用 PWT-## 记录 因素、取值对、合法性约束、交互风险、覆盖理由、来源证据、优先级和验证方法,保留来源、证据状态、影响/优先级、责任角色、关闭条件和验证方法。
4. 材料冲突、缺少约束或没有执行证据时,保留双方和待确认问题。

## 领域执行要点

- 列来源化因素、值域与联合约束,确定 pairwise 适用风险及不覆盖的三阶以上义务。
- 交付合法 pair universe、已覆盖与缺失 pair 明细;需要高阶交互时明确额外候选与理由。
- 形成领域候选时,必须读取并遵循 [prompts/pairwise-testing.md](prompts/pairwise-testing.md) 的领域操作与判定流程,逐项保留合法对照、证据缺口和验证动作。

## 核心约束

- 不把成对覆盖写成全组合覆盖,不忽略互斥约束,不凭经验补造因素或取值。
- 文件存在、名称匹配、设计声明或 Eval 配置不等于真实执行证据。
- 未知项标为 unassessed、blocked 或待确认,不用常识补齐。
- 不修改需求、代码、测试资产或目标系统。

## 交付前自检

- [ ] 已记录六类输入审计。
- [ ] 每条 PWT-## 有来源、最小证据、影响/优先级、责任角色、关闭条件和验证方法。
- [ ] 已区分事实、推断、建议、未执行和 Human 决策。
- [ ] 未把设计候选写成完整测试、执行结果、覆盖证明或发布结论。

## 参考文件

- 回归时读取 evals/eval.yaml 和匹配用例;配置不证明真实项目结果。
- 触发验证使用 evals/trigger-prompts.csv 和 evals/local-rules.json;缺少 skill.selection 证据时报告 BLOCKED。

## 常见误区

- 范围或证据不完整时,不要把方法名称、文件存在或候选数量写成测试已执行、覆盖、通过或发布证据。
- 不要用常识补齐未提供的规则、阈值、数据、环境或结果;保留 unassessed、blocked 和待确认项。
- 不要把本 Skill 的专项候选扩写成完整策略、完整测试用例、真实执行或发布决定。

## 最佳实践

- 先完成六类输入审计,再选择最小、可追溯且可验证的发现范围。
- 每条发现保留来源、证据状态、影响/优先级、责任角色、关闭条件和验证方法,并明确剩余风险。
- 把验证建议写成下一步动作,不把 Skill 包结构、候选数量或本地 Eval 配置升级为真实质量结论。

Files in this skill

  • SKILL.md4.1 KB
  • agents/openai.yaml375 B
  • evals/cases/basic-success.yaml838 B
  • evals/cases/domain-method-control.yaml1 KB
  • evals/cases/domain-method-success.yaml1 KB
  • evals/cases/edge-incomplete-input.yaml799 B
  • evals/cases/edge-scope-boundary.yaml863 B
  • evals/eval.yaml532 B
  • evals/local-rules.json135 B
  • evals/trigger-prompts.csv688 B
  • prompts/pairwise-testing.md4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.