Hi all,
I’ve trouble running Platform test using Intellij 2025.2, the error is the following:
Could not find installation home path. Please make sure product-info.json is present in the installation directory.
java.lang.RuntimeException: Could not find installation home path. Please make sure product-info.json is present in the installation directory.
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:113)
at com.intellij.openapi.application.PathManager.getHomePath(PathManager.java:82)
at com.intellij.testFramework.fixtures.IdeaTestExecutionPolicy.getHomePathWithPolicy(IdeaTestExecutionPolicy.java:105)
at com.intellij.testFramework.fixtures.BasePlatformTestCase.getTestDataPath(BasePlatformTestCase.java:99)
at com.intellij.testFramework.fixtures.BasePlatformTestCase.setUp(BasePlatformTestCase.java:43)
at com.gitlab.msciachero.ActionsTest.before(ActionTest.kt:20)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.intellij.ide.starter.junit5.CurrentTestMethodArgumentsProvider.intercept(CurrentTestMethodArgumentsProvider.kt:53)
Same tests works well with 2024.3
In addition I’ve configured:
plugins {
kotlin("jvm") version "2.2.0"
kotlin("plugin.serialization") version "2.2.0"
id("org.jetbrains.intellij.platform") version "2.7.2"
and this is my configuration of intellijPlatform:
intellijPlatform {
intellijIdeaCommunity("2025.2") {
useInstaller = false
}
jetbrainsRuntime()
bundledPlugins(
listOf(
"Git4Idea",
"com.intellij.platform.images",
"org.intellij.plugins.markdown",
"org.jetbrains.plugins.yaml"
)
)
bundledModules(listOf("intellij.platform.vcs.dvcs.impl", "intellij.platform.tasks"))
pluginVerifier()
zipSigner()
testFramework(TestFrameworkType.JUnit5)
testFramework(TestFrameworkType.Platform)
testFramework(TestFrameworkType.Plugin.Java)
testFramework(TestFrameworkType.Starter)
}
Did I miss something?
Mirko