Test Companion
class TestCompanion
The base Gradle Tasks.External.TEST task is preconfigured using the TestCompanion class to run tests with IntelliJ Platform, sandbox, and all system properties set.
The task itself isn't mutated and a dedicated PrepareTestTask task is involved to request for required IntelliJ Platform and sandbox configuration.