Tests for understanding-konflux-resources
This directory contains test scenarios and generated results for validating the skill.
Structure
scenarios.yaml- Test scenario definitions with expectationsresults/- Generated test results (one file per scenario sample)
Running Tests
Generate test results (invokes Claude):
make generate SKILL=understanding-konflux-resources
Run tests (validates results):
make test SKILL=understanding-konflux-resources
How It Works
scenarios.yamldefines test prompts and expected outcomesmake generateinvokes Claude with the skill loaded, saves outputs toresults/- Each result file includes a digest of the skill content on the first line
make testvalidates results match expectations and digest matches current skill- If skill content changes, tests fail until
make generateis run again
See root Makefile and test/ directory for implementation details.