Forrest logo
back to context overview

go-test

List of commands for go-test:

  • go-test:tldr:63cc8 go-test: [v]erbosely test the package in the current directory.
    $ go test -v
    try on your machine
    explain this command
  • go-test:tldr:95c27 go-test: Test the package found in the current directory.
    $ go test
    try on your machine
    explain this command
  • go-test:tldr:b4e46 go-test: Test the packages in the current directory and all subdirectories (note the `...`).
    $ go test -v ./...
    try on your machine
    explain this command
  • go-test:tldr:b806b go-test: Test the package in the current directory and run all benchmarks for 50 seconds.
    $ go test -v -bench . -benchtime ${50s}
    try on your machine
    explain this command
  • go-test:tldr:bd5f1 go-test: Test the package with coverage analysis.
    $ go test -cover
    try on your machine
    explain this command
  • go-test:tldr:c2130 go-test: Test the package in the current directory and run all benchmarks.
    $ go test -v -bench .
    try on your machine
    explain this command
back to context overview