Individual skill

pairwise-test-design

提供 pairwise 组合测试设计方法,帮助在参数组合很多时控制测试规模并保持有效覆盖。 当任务存在多维输入、配置矩阵、权限组合或兼容性组合时使用。

plugins/Colin4k1024/tsp/skills/pairwise-test-design/SKILL.md

Read pinned source

Source commit d780783eba4ecc7c8b9429f95c9362df95f07c61

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
No
Observed behavior
Network or broad shell
Last checked
Nov 4, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,532
Repository last updated
Nov 6, 2026
License
Apache-2.0

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# Pairwise Test Design

## 用途

- 解决“组合一多就测不完”与“只测几组又没把握”的矛盾。
- 适合多参数输入、配置开关、角色权限、环境差异和兼容性矩阵场景。

## 默认做法

1. 先列出真正影响行为的维度,而不是把所有字段机械塞进组合矩阵。
2. 为每个维度划分代表性取值:正常值、边界值、特殊值、禁用值或高风险值。
3. 先标记硬约束和非法组合,避免生成“业务上根本不成立”的用例。
4. 当全量笛卡尔积过大时,优先用 pairwise 覆盖两两交互;仅把高风险路径、历史缺陷路径和关键业务规则额外补成定向用例。
5. 输出结果时要说明:哪些组合由 pairwise 覆盖,哪些高风险场景是额外补充,不把 pairwise 误当成全覆盖。