go-test
Verified for current stable LTS
Go Test Commands
Go Test command syntax with verified terminal examples.
Commands
6 commands for Go Test
go-test Operations
Go Test Command: Test Current Package
go test go-test Operations
Go Test Command: Verbose Test Current Package
go test -v go-test Operations
Go Test Command: Test All Packages Including Subdirectories
go test -v ./... go-test Operations
Go Test Command: Test Current Package With Benchmarks
go test -v -bench . go-test Operations
Go Test Command: Test Current Package With Benchmarks For 50 Seconds
go test -v -bench . -benchtime 50s go-test Operations
Go Test Command: Test Current Package With Coverage
go test -cover Suggest a Go Test Command
Submit missing workflows, corrections, or verified alternatives for this tool.
FAQ
Coverage: Focused examples for common Go Test workflows.
Verified version: current stable LTS.
Verification: Test commands in a disposable workspace and submit notes for edge cases.