Run all tests in a project

To run all tests in your project, create a run/debug configuration for a directory.

Click Run | Edit Configurations. Click the Add New Configuration button and select Go Test. In the Directory field, specify a path to the directory that includes an application and test files. Ensure that Test kind is Directory. Click Apply and OK.

To run the created configuration, click Run | <go_test_configuration_name>.