test
Run Go tests
SKILL.md.claude/skills/test/SKILL.md
GitHub/test
A skill for running Go tests.
Default Behavior
make test
Argument Patterns
/test— Run tests for all packages (make test)/test ./internal/connector/...— Run specified packages only (make ensure-ui && go test -race -v ./internal/connector/...)/test -cover— Run with coverage (make test-cover)/test -run TestName— Run only a specific test (make ensure-ui && go test -race -v -run TestName ./...)
Steps
- Parse arguments
- If
-coveris specified, runmake test-cover - If no arguments, run
make test - If a package or
-runflag is specified, runmake ensure-ui && go test -race -v <args> - Display results and highlight any failures