go-test
Verified for current stable LTS
Go Test Commands
Go Test command syntax with verified terminal examples.
Commands
12 commands for Go Test
go-test Operations
Go Test Command: Test All Packages Including Subdirectories
go test -v ./... go-test Operations
Go Test Command: Test Current Package
go test 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 go-test Operations
Go Test Command: Test Package And Run All Benchmarks
go test -v -bench . go-test Operations
Go Test Command: Test Package And Run Benchmarks For 50 Seconds
go test -v -bench . -benchtime 50s go-test Operations
Go Test Command: Test Package Current Directory
go test go-test Operations
Go Test Command: Test Package With Coverage Analysis
go test -cover go-test Operations
Go Test Command: Test Packages Current Directory And Subdirectories
go test -v ./... go-test Operations
Go Test Command: Verbose Test Current Package
go test -v go-test Operations
Go Test Command: Verbose Test Package Current Directory
go test -v 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.