Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 339 Bytes

File metadata and controls

27 lines (19 loc) · 339 Bytes

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