Back to dashboardChoose the right testing skill

Choose the right testing skill

Handbook · Skill index

SkillUse it to answerEvidence to expect
/unit-testingDoes this isolated behavior satisfy its contract?Meaningful deterministic assertions, actual discovery/pass/fail/skip output and gaps
/integration-testingDo the selected real components cooperate correctly?Explicit real/fake topology, isolated fixtures, boundary/failure results and cleanup
/load-testingDoes the system meet goals under this traffic profile?Authorized target, bounded workload, achieved load/errors/drops, latency/resource evidence and thresholds
/performance-testingWhat does this path cost, and did a change improve it?Comparable baseline/candidate, repeated samples/units, environment, correctness and variability

Load testing is one performance discipline; separate skills give traffic execution and component profiling distinct owners. Unit and integration tests verify behavior at different boundaries. None substitutes for the others or guarantees security, end-to-end behavior or production readiness.

Typical sequence

Implement a small behavior, add meaningful unit coverage, verify required real boundaries with integration tests, then measure load/performance only when the requirements justify it. Existing adequate coverage need not be duplicated. Select only relevant skills; do not run all four automatically on every small change.

Inspect actual manifests/runner configuration and installed versions before choosing commands. These skills reuse your project's stack and existing test layout. They do not install pytest/xUnit/Testcontainers/k6/Locust/JMeter/BenchmarkDotNet or any other tool automatically. The references in .claude/framework/testing.md explain concepts; version-specific commands still require project verification.

Questions before execution

Unit: expected behavior and observable boundary. Integration: real versus fake topology, disposable data ownership, readiness and cleanup. Load: exact authorized environment, traffic model/limits, duration/resources, thresholds, stop conditions and data effects. Performance: metric/budget, comparable baseline, representative data, build/hardware parity, warm-up and repetitions.

Prepare scripts/plans locally while missing material execution details are resolved. Never interpret a public endpoint, a schema file or a placeholder threshold as authorization. An approved scope persists; ask only for missing/changed material details. Do not use production/shared dependencies or paid capacity implicitly.

Evidence and gates

Use the four matching templates under .claude/framework/templates/; store task-specific evidence under docs/project/testing/. Actual reviewed commands can be recorded in ignored .claude/framework.local.json and run with existing gate/review helpers. Helpers do not prove test discovery, boundary realism or threshold enforcement: inspect actual output. Zero tests, skipped cases, empty gates, fakes, missing baseline and generator saturation remain explicit limits.

Review substantial changes with iteration-review. Preserve raw diagnostics/measurements safely, report actual versions/revision/commands/exits, and record unverified claims honestly. These new skills have structural/packaging checks; live model execution against real application stacks remains unverified.