- Convert flat .md files to index.md in subdirectories - Add subcommand directories (go/test, go/cov, build/sdk, etc.) - Update dev/index.md to include multi-repo commands - Structure now mirrors: core <cmd> [subcmd] → docs/cmd/<cmd>/<subcmd>/ Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
691 B
691 B
core go test
Run Go tests with coverage and filtered output.
Usage
core go test [flags]
Flags
| Flag | Description |
|---|---|
--pkg |
Package to test (default: ./...) |
--run |
Run specific tests |
--short |
Skip long-running tests |
--race |
Enable race detection |
--coverage |
Show coverage summary |
--json |
JSON output for CI |
-v |
Verbose output |
Examples
core go test # All tests
core go test --pkg ./pkg/core # Specific package
core go test --run TestHash # Specific test
core go test --coverage # With coverage
core go test --race # Race detection