pypict-claude-skill logo

pypict-claude-skill

Free

Design comprehensive test cases using PICT (Pairwise Independent Combinatorial Testing) for requirements or code, generating optimized test suites with pairwise coverage.

FreeFree tier
Type
Open Source

About pypict-claude-skill

PICT Test Designer is a Claude skill that leverages Microsoft's PICT (Pairwise Independent Combinatorial Testing) to generate optimized test cases. It converts requirements or code into structured models, applies constraint-based logic to eliminate invalid combinations, and produces minimal test suites with full pairwise coverage. The skill reduces test cases dramatically—e.g., from 25,920 exhaustive tests to just ~30 for a system with 8 parameters—while ensuring all pairwise interactions are tested. It supports multiple domains including software functions, APIs, web forms, and configurations, and works seamlessly within Claude Code's CLI and Desktop environments.

Key Features

Automated Test Case Generation: Converts requirements into structured PICT models
Constraint-Based Testing: Applies business rules to eliminate invalid combinations
Expected Output Generation: Automatically determines expected results for each test case
Comprehensive Coverage: Ensures all pairwise parameter interactions are tested
Multiple Domains: Works for software functions, APIs, web forms, configurations, and more
Pairwise combinatorial testing: Reduces test cases drastically compared to exhaustive testing

Pros & Cons

Pros
  • Reduces number of test cases drastically compared to exhaustive testing (99.88% reduction in example)
  • Ensures all pairwise parameter interactions are tested
  • Supports constraint-based testing to eliminate invalid combinations
  • Works across multiple domains and input types
  • Free and open source with community support
Cons
  • Requires Claude Code (CLI or Desktop) to use the skill
  • Limited to pairwise coverage; may not catch higher-order interactions
  • Requires manual definition of parameters, values, and constraints

Best For

Testing software functions with multiple input parametersAPI endpoint testing with various parameter combinationsWeb form validation and field interaction testingConfiguration testing for systems with many optionsATM system testing (example provided in documentation)

FAQ

What is PICT?
PICT (Pairwise Independent Combinatorial Testing) is a combinatorial testing tool developed by Microsoft. It generates test cases that efficiently cover all pairwise combinations of parameters while drastically reducing the total number of tests compared to exhaustive testing.
How do I install the PICT Test Designer skill?
You can install it through the Claude Code plugin marketplace using the commands '/plugin marketplace add omkamal/pypict-claude-skill' and '/plugin install pict-test-designer@pypict-claude-skill'. Alternatively, you can manually clone the repository to your skills directory or use a Git submodule for team sharing.
What are the prerequisites for using this skill?
You need Claude Code CLI or Claude Code Desktop. Python 3.7+ with the pypict library is optional for advanced usage.