Cover a feature with combinatorial inputs without writing 64 tests
Wann einsetzen: Feature has 4+ enum-ish parameters and exhaustive testing would explode.
Voraussetzungen
- Server/skill installed and authenticated — See repo README
Ablauf
-
ModelUse pypict skill: model checkout with payment_method=[card, paypal, applepay], shipping=[standard, express, intl], discount=[none, code, member], currency=[USD, EUR].✓ Kopiert→ Pict model + ~12 pairwise cases
-
Generate testsEmit pytest tests from those cases against
checkout().✓ Kopiert→ pytest file with parametrize
Ergebnis: Real combinatorial coverage with ~12 cases instead of 81.
Fallstricke
- 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.