TestRunner (@NotNull Project project, @Nullable String gradleProjectPath) { GradleProjectSettings projectSettings = gradleProjectPath == null ? null : GradleSettings.getInstance(project).getLinkedProjectSettings(gradleProjectPath); TestRunner testRunner = projectSettings == null ? TestRunner.PLATFORM : projectSettings.getTestRunner(); if (LOG.isDebugEnabled()) { if (testRunner != TestRunner.GRADLE) { String settingsPresentation = projectSettings == null ? String.format("<null: %s>", gradleProjectPath) : gradleProjectPath; LOG.debug(String.format("Get non gradle test runner %s at '%s'", testRunner, settingsPresentation), new Throwable()); } } return testRunner; }