Run window not showing a tab for each configuration within a compound configuration

Answered

Hi everyone,

My current setup is made of a project folder comprised of several Go modules. I have a Go Test configuration for each Go module and a Compound configuration made of all the individual Go Test configurations.

After executing the Compound configuration, the Run window is showing a tab for only a subset of the configurations within the Compound. During the execution of the Compound configuration, I can see the Run window going through all the Go Test configurations but in the end only a few tabs are showing, not all. Re-running the Compound configuration without making any code changes keeps showing the tabs for the same few Go Test configurations. Any thoughts?

As an improvement, is there a way with my current setup to show the test results for all configurations in the tree-view of the same Run window?

Thank you.

 

1
4 comments

Hello Ricardo,

You can use the Before launch option to run your tests in different windows.

Speaking about showing the test results for all configurations, you can create a new configuration for, e.g., the project root and run all tests in your project. Alternatively, you can create the same configuration but specify different patterns to include tests via Run | Edit Configurations | Pattern.

0

Hi Daniil,

Thanks for your answer.

"Speaking about showing the test results for all configurations, you can create a new configuration for, e.g., the project root and run all tests in your project."

Isn't this the same thing as having the Compound configuration with all the individual configurations in it?

"Alternatively, you can create the same configuration but specify different patterns to include tests via Run | Edit Configurations | Pattern."

This is a good idea. However, I have a different set of environment variables for each Go Test configuration.

 

I think my question is, why isn't the Run window showing a tab for each configuration within the Compound configuration?

Thank you.

0

Isn't this the same thing as having the Compound configuration with all the individual configurations in it?

It is a bit different and you can see all your tests in the same window without any additional configurations on your side.

I think my question is, why isn't the Run window showing a tab for each configuration within the Compound configuration?

It is by design and the IDE shows only the last configuration that was executed. Feel free to fill out a new ticket on our tracker.

0

I see. With the "before launch" option the Run window shows a tab for each configuration executed before launch. This seems to be better than the Compound configuration. What would be great would be to have a way of showing the test results for all configurations in the same tree-view of the same Run window but I guess that's not supported.

Thanks for your help.

1

Please sign in to leave a comment.