PICT Test Designer

Přeměňuje požadavky s více parametry na párové PICT modely a testovací tabulky

od omkamal · omkamal/pypict-claude-skill

Otestováno · Funguje ★ 9.2/10

PICT Test Designer — Přeměňuje požadavky s více parametry na párové PICT modely a testovací tabulky

Co umí

Analyzuje requirements nebo code s multiple input parameters a produkuje PICT (Pairwise Independent Combinatorial Testing) model s parameters, values a constraints, plus markdown test-case table a expected results. Spouští se při designing test matrices pro APIs, forms nebo configurations, kde combinations explode.

Testovací report

Navrhl jsem tests pro 5-parameter file-upload endpoint oběma způsoby, poté measured 2-way coverage s real Microsoft PICT binary built from source. Hand-written baseline: 8 test cases pokrývajících 42 z 67 parameter pairs (62.7%), silently missing every exe+infected, exe+oversize a expired-auth-on-local combination. Following skill's model-then-constrain workflow: 11 test cases pokrývajících 66 z 67 pairs (98.5%) — one gap being the pair its own constraint legitimately excludes, takže 100% of legal pairs pro three extra tests. Bundled pict_helper.py generuje a formátuje models correctly, though troubleshooting line 'pip install pypict' selže na clean machine s Cython build error.

Testováno: 2026-07-17 · Claude Code 2.x (agent harness)

Instalace

git clone https://github.com/omkamal/pypict-claude-skill.git
mkdir -p ~/.claude/skills/pict-test-designer
cd pypict-claude-skill && cp -r SKILL.md references scripts ~/.claude/skills/pict-test-designer/

Příkazy a ukázkové prompty

  • /pict-test-designerPřeměňuje požadavky s více parametry na párové PICT modely a testovací tabulky

Skilly se spouštějí běžnými požadavky — žádné příkazy k zapamatování. Po instalaci ho aktivují prompty jako tyto (anglicky):

  • Design pairwise test cases for this file-upload endpoint's five parameters
  • I need a PICT model for this API so I don't miss parameter combinations
  • Generate a test matrix covering all the pairs for these config options