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. Use default settings
and ensure that Test kind is Directory. Click Apply
and OK.
To run the created configuration, сlick Run | <go_test_configuration_name>.