cli/cmd/test/cmd_commands.go

19 lines
534 B
Go
Raw Permalink Normal View History

// Package testcmd provides Go test running commands with enhanced output.
//
// Note: Package named testcmd to avoid conflict with Go's test package.
//
// Features:
// - Colour-coded pass/fail/skip output
// - Per-package coverage breakdown with --coverage
// - JSON output for CI/agents with --json
// - Filters linker warnings on macOS
//
// Flags: --verbose, --coverage, --short, --pkg, --run, --race, --json
package testcmd
import "forge.lthn.ai/core/go/pkg/cli"
func init() {
cli.RegisterCommands(AddTestCommands)
}