pict-test-designer

Generates pairwise combinatorial test cases from requirements using PICT models with constraints.

Updated Aug 22, 2026
One-click install
npx skills add https://github.com/farslab/claude-skills --skill pict-test-designer-farslab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: pict-test-designer
Source: https://github.com/farslab/claude-skills/tree/main/pypict
Command: npx skills add https://github.com/farslab/claude-skills --skill pict-test-designer-farslab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pypict, and includes scripts (resource) and references (resource) components.

What problem does it solve? Testing systems with many input parameters exhaustively produces thousands or billions of combinations, making full coverage impractical. This Skill analyzes requirements or code, identifies parameters and constraints, and generates a minimal set of pairwise test cases that still cover all two-way parameter interactions. ## Core Features & Use Cases - Automated Parameter Identification: Extracts test parameters, values, and business-rule constraints from requirements documents or code. - PICT Model Generation: Produces a complete PICT model with equivalence partitioning, boundary values, and constraint syntax. - Structured Test Output: Delivers the model, a markdown table of test cases, and expected outputs for each case. - Use Case: Testing an ATM system with 8 parameters would require 25,920 exhaustive combinations; this Skill reduces that to 31 pairwise test cases covering all two-way interactions, a 99.88% reduction. ## Quick Start Ask the assistant to design test cases for your feature, for example: design test cases for a login function with username, password, two-factor authentication, and a remember-me checkbox.

Frequently Asked Questions about pict-test-designer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate pairwise test cases from requirements?▼

Describe your system's parameters, values, and business rules, and the Skill identifies test parameters, builds a PICT model with constraints, and outputs test cases with expected results. Pairwise generation typically reduces combinations by 80-99% while covering all two-way interactions.

What is PICT pairwise combinatorial testing?▼

PICT (Pairwise Independent Combinatorial Testing) is a Microsoft-developed method that generates test cases covering all pairs of parameter values instead of all combinations. For example, 8 parameters with 25,920 exhaustive combinations can be covered by about 31 pairwise test cases.

How do I run the generated PICT model to get test cases?▼

Save the generated model to a text file and use online tools like pairwise.yuuniworks.com, or install Microsoft PICT locally and run it against the file. The optional pict_helper.py script can also generate models from JSON config and format output as markdown.

Does the PICT test designer support constraints between parameters?▼

Yes, the Skill writes PICT constraint syntax such as IF [Parameter] = "Value" THEN [Other] <> "Value" to eliminate invalid combinations. Constraints support operators like =, <>, IN, AND, OR, and NOT for modeling business rules and dependencies.

Why does my PICT model generate no test cases?▼

Empty output usually means constraints are over-restrictive or contain syntax errors. Verify each constraint ends with a semicolon, parameter names in brackets match definitions exactly, and rules do not contradict each other.

When should I not use pairwise testing?▼

Pairwise testing may miss defects caused by three or more parameters interacting simultaneously. For safety-critical paths, consider higher-order (3-way or 4-way) combinations or supplement pairwise suites with targeted scenario tests.