Home / AI Integration
AI Integration¶
ProTest can be used with AI coding assistants to automatically generate covering arrays from your codebase. Instead of manually identifying parameters and values, an AI assistant can analyze your code, identify the test parameters, create a model, and generate the test matrix for you.
Claude Code Skill¶
The most effective way to use ProTest with AI is through the Claude Code skill — a configuration file that teaches Claude Code how to use ProTest's CLI to generate covering arrays.
When the skill is installed, you can ask Claude Code things like:
- "Generate a covering array for the configuration options in this module"
- "Create a test matrix for all the feature flag combinations"
- "What parameter combinations should I test for this API?"
Claude Code will:
- Analyze your code to identify parameters and their values
- Identify constraints (invalid combinations)
- Create a
.cahttmodel file - Run ProTest's CLI to generate the covering array
- Present the results as test cases
Getting Started¶
See the Claude Code Skill page for installation instructions and usage examples.