GoLand 2023.2 Help


Testing ensures that behavior of your code is correct and expected. Good-written tests allow you to develop with confidence that your code will work and will not break your existing code.

GoLand includes several packages that you can use to run your tests. Also, you can apply a specific testing scope for the selected package.

Packages for testing

For testing purposes, GoLand includes the following packages:


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


Use to have extended functionality of go check and running more complex tests. For more information about go check, see go check.


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

Packages for testing
Last modified: 15 August 2023