docs/build/cli/go/test/index.md
Snider 85bbb8e828 docs: initial import of CorePHP documentation
173 markdown files covering:
- Framework architecture (lifecycle events, module system, multi-tenancy)
- Package docs (admin, api, mcp, tenant, commerce, content, developer)
- CLI reference (dev, build, go, php, deploy commands)
- Patterns (actions, repositories, seeders, services, HLCRF)
- Deployment (Docker, PHP, LinuxKit, templates)
- Publishing (Homebrew, AUR, npm, Docker, Scoop, Chocolatey)

Source: core-php/docs (core.help content)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-03 17:51:03 +00:00

713 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 only tests matching regexp
--short Run only short tests
--race Enable race detector
--coverage Show detailed per-package coverage
--json Output JSON results
-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