GoLand 2026.3 Help

Testing

Use GoLand to create tests, run and debug them, and measure code coverage.

Test frameworks

In a Go Test run/debug configuration, select one of the following options from Test framework:

gotest

Use for running standard unit tests. For more information about go test, refer to Package testing.

gocheck

Run tests written with the gocheck testing library. Add this library to your project before using it.

gobench

Use for running performance tests. For more information about gobench, refer to Package testing: Benchmarks.

go test -fuzz

Use for running fuzzing tests. Fuzzing in Go is a technique used to automatically test software by providing it with a large amount of random or unexpected input to uncover vulnerabilities or bugs. For more information about go test -fuzz, refer to Go Fuzzing.

Packages for testing
17 August 2026