test
Build and run analyzer tests, optionally filtered to a specific SPIRE rule. Use when asked to test, verify, or check analyzer behavior.
SKILL.md.claude/skills/test/SKILL.md
GitHubBuild & Run Tests
Arguments: $ARGUMENTS
If
$ARGUMENTSis empty, run all tests:dotnet testIf a rule ID is given (e.g.,
{RuleId}), run only that rule's tests:dotnet test --filter "FullyQualifiedName~$ARGUMENTS"Report results concisely — pass/fail counts and any failure details.
Constraints
- Do NOT modify test code to make tests pass
- Do NOT skip, ignore, or suppress failing tests
- Do NOT modify analyzer code — report failures as-is
- If the build fails, report the build error and stop — do not attempt fixes