Access to or creation of Run Configurations in a plugin

Hi all,

I'm new to trying to extend IntelliJ. What I want to do is to run a series of tests of a multi-module project in order to get comprehensive code coverage. I was hoping to be able to do this via a Macro and it might be possible, though even if it is, it will be clumsy and I'll have to manually create the run configurations beforehand. I was hoping to be able to do this via a plugin. Can I access all the IntelliJ functionality within a plugin, such as run configuration and code coverage report generation? Basically I want to make a plugin to do what I don't think I can quite do with a Macro. If there is a way to learn how to access all this IntelliJ functionality, I'd appreciate getting a pointer.

Any other advice about a better way to go about this is welcomed.

Thanks,
Bill

1 comment
Comment actions Permalink

If you're fine creating all the necessary run configurations manually (I assume this is a one-time setup cost), you can use Compound Run Configuration to run a series of run configurations.
https://www.jetbrains.com/idea/help/run-debug-configuration-compound.html

Run configurations can be created and managed programmatically via a custom plugin indeed, see http://www.jetbrains.org/intellij/sdk/docs/basics/run_configurations.html

0

Please sign in to leave a comment.