Cover a feature with combinatorial inputs without writing 64 tests
使うタイミング: Feature has 4+ enum-ish parameters and exhaustive testing would explode.
前提条件
- Server/skill installed and authenticated — See repo README
フロー
-
ModelUse pypict skill: model checkout with payment_method=[card, paypal, applepay], shipping=[standard, express, intl], discount=[none, code, member], currency=[USD, EUR].✓ コピーしました→ Pict model + ~12 pairwise cases
-
Generate testsEmit pytest tests from those cases against
checkout().✓ コピーしました→ pytest file with parametrize
結果: Real combinatorial coverage with ~12 cases instead of 81.
注意点
- Pairwise misses higher-order bugs (3-way interactions). For safety-critical paths, use 3-wise. — Pairwise misses higher-order bugs (3-way interactions). For safety-critical paths, use 3-wise.