I need to execute a custom run configuration which will trigger a remote service to actually test the code and report the test results. I already have implemented a ConfigurationFactory, a RunConfigurationBase and a ConfigurationType. In my CommandLineState I attach an SMTestRunnerConsoleView to the current process in order to reuse the existing GUI and be able to pass test results to this console view.
Now to my actual question: How can I execute a run configuration without actually executing code locally, but just calling a remote service? As of now, using the RunConfigurationBase without any modification I always get an exception stating "Executable is not specified" when trying to run my config. I already read through this post: https://intellij-support.jetbrains.com/hc/en-us/community/posts/206103879-Graphical-integration-of-running-tests-in-plugin?page=1#comments. This helped a lot, but I am just missing how to actually run an "empty" config.