cli/docs/cmd/go/test/example.md
Snider 8601e5b355 docs: add example.md files for all CLI commands
Each command directory now has both index.md (reference) and
example.md (usage examples and configuration samples).

Also adds exception for docs/cmd/build in .gitignore.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 14:58:54 +00:00

339 B

Go Test Examples

# All tests
core go test

# Specific package
core go test --pkg ./pkg/core

# Specific test
core go test --run TestHash

# With coverage
core go test --coverage

# Race detection
core go test --race

# Short tests only
core go test --short

# Verbose
core go test -v

# JSON output (CI)
core go test --json