Skip to content
Ruslan Khmelyuk edited this page Jul 20, 2013 · 5 revisions

Multirun allows to start multiple Run Configurations with single click. You can create group of run configurations, like tests and apps. It's even possible to group multiple Multirun configurations.

Getting Started

First, download and install Multirun plugin from JetBrains plugins repository http://plugins.jetbrains.com/plugin/7248?pr=idea.

After plugin is installed, use menu "Run" ->"Edit Configurations..." to open "Run/Debug Configurations" dialog window. Then use the "plus" icon to add a new run configuration of "Multirun" type.

For new configuration add the best fit name and add run configurations to it's list.

After run configurations are added, save the changes and close the dialog. Now you can see just added multirun configuration in the list in your toolbar. Go and run it. It will start running each chosen configuration.

Configuration

Start each configuration one by one

If checked, then Multirun will start configuration only after the previous one is started. This is useful, if included run configurations may have conflicts in they Before Run tasks. If not checked, will start all configurations immediately and let them run as they are ready.

Reuse tabs to run configurations

If checked, then Multirun will use the default IDEA way to run configurations: each next configuration will try to find the console tab with already completed program and re-use it. This might be not a problem for long-running applications, like servers. But is not a best solution for tests: after some test run configuration is completed, its tab can be re-used, and you'll lost a chance to see the tests result. If not checked, then Multirun will try to start a separate table for each run configuration (or re-use the existing one). It will not allow the next configuration to re-use the console tab of the previous completed configuration.

More