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.