# Integration Tests documentation not sufficient

**URL:** <https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589>\
**Category:** Gradle Build Scripts\
**Created:** [August 20, 2025, 9:05pm UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589 "2025-08-20T21:05:35Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwren](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jwren](https://platform.jetbrains.com/u/jwren)\
**Post date:** [August 20, 2025, 9:05pm UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589/1 "2025-08-20T21:05:36Z")

</div>

I have been unsuccessful in following the directions at “Introduction to Integration Tests“ at [Introduction to Integration Tests | IntelliJ Platform Plugin SDK](https://plugins.jetbrains.com/docs/intellij/integration-tests-intro.html). Is there an example from JetBrains that is up to date that I can reference? Could the example, at [GitHub - JetBrains/intellij-platform-plugin-template: Template repository for creating plugins for IntelliJ Platform](https://github.com/JetBrains/intellij-platform-plugin-template/) be updated to use

> intellijPlatform {//… testFramework(TestFrameworkType.Starter) }

Thank you!

---

<div class="post-metadata">

**Author:** ![jgafner](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jgafner/32/78_2.png) [@jgafner](https://platform.jetbrains.com/u/jgafner)\
**Post date:** [August 21, 2025, 7:36am UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589/2 "2025-08-21T07:36:05Z")

</div>

Hi @jwren

I opened a [PR](https://github.com/JetBrains/intellij-platform-plugin-template/pull/537) on the template repository last week that includes exactly what you are looking for (for UI testing, but can be used for integration the same way).

Since it has not been merged yet, you can apply the changes locally and let me know if they work for you. Your feedback would be greatly appreciated. _(Note: I am not from JetBrains, so this is not an official recommendation.)_

---

<div class="post-metadata">

**Author:** ![jwren](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jwren](https://platform.jetbrains.com/u/jwren)\
**Post date:** [August 21, 2025, 6:25pm UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589/3 "2025-08-21T18:25:22Z")

</div>

Thank you! I have your code and I have the PluginTest.kt running from the IDE successfully.

My first question… If I modify your code to compile and run PluginTest.kt contents from [Introduction to Integration Tests | IntelliJ Platform Plugin SDK](https://plugins.jetbrains.com/docs/intellij/integration-tests-intro.html#creating-the-first-integration-test) I still cannot import `Starter` (or other references) to run the first trivial example.

I also don’t see a `task` defined to run the ui test integration (PluginTest.kt), what is the gradle command to run the PluginTask?

- Jaime

---

<div class="post-metadata">

**Author:** ![jgafner](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jgafner/32/78_2.png) [@jgafner](https://platform.jetbrains.com/u/jgafner)\
**Post date:** [August 21, 2025, 6:50pm UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589/4 "2025-08-21T18:50:30Z")

</div>

@jwren

The task is in [here](https://github.com/JetBrains/intellij-platform-plugin-template/pull/537/files#diff-c0dfa6bc7a8685217f70a860145fbdf416d449eaff052fa28352c5cec1a98c06), look at line 198.

The PluginTest is equivalent to MyProjectUITest, but I moved the Starter into the setup.

[This](https://github.com/Jonatha1983/jg-ui-test-checking) is a repository I created from the fork template of this PR, you can clone that one and compare your Gradle configuration with it.

---

<div class="post-metadata">

**Author:** ![jwren](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jwren](https://platform.jetbrains.com/u/jwren)\
**Post date:** [August 21, 2025, 9:06pm UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589/5 "2025-08-21T21:06:08Z")

</div>

Thanks for the content. Yes, I did see the task, and I am able to run your driver test.

In my Gradle dependencies I have something every similar to your setup, driver packages download for 251 in my example, not 243, but again, when I got to author any kotlin code, I am met with what look like random misses in the classpath:

 ![Screenshot 2025-08-21 at 2.01.39 PM](https://us1.discourse-cdn.com/flex001/uploads/jetbrains_platform/original/2X/b/b280238d54ffb6a4499acc23e36b355d1a67e0d3.png)

---

<div class="post-metadata">

**Author:** ![jgafner](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/jgafner/32/78_2.png) [@jgafner](https://platform.jetbrains.com/u/jgafner)\
**Post date:** [August 22, 2025, 6:13am UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589/6 "2025-08-22T06:13:07Z")

</div>

Since v2025.1, those were moved to:  
com.intellij.driver.sdk.ui.components.common

You need to delete those imports and re-import those classes….

---

<div class="post-metadata">

**Author:** ![jwren](https://avatars.discourse-cdn.com/v4/letter/j/90ced4/32.png) [@jwren](https://platform.jetbrains.com/u/jwren)\
**Post date:** [August 25, 2025, 5:37pm UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589/7 "2025-08-25T17:37:43Z")

</div>

Thank you again for the example! With it, I was able to get an initial test working locally, I’ll post the PR here when I have it uploaded.

- Jaime

---

<div class="post-metadata">

**Author:** ![yuriy.artamonov](https://sea1.discourse-cdn.com/flex001/user_avatar/platform.jetbrains.com/yuriy.artamonov/32/48_2.png) [@yuriy.artamonov](https://platform.jetbrains.com/u/yuriy.artamonov)\
**Post date:** [September 15, 2025, 7:37am UTC](https://platform.jetbrains.com/t/integration-tests-documentation-not-sufficient/2589/8 "2025-09-15T07:37:26Z")

</div>

Watching this video could be a good start at least

[![](https://us1.discourse-cdn.com/flex001/uploads/jetbrains_platform/original/2X/b/bcbd492041ac2bfcfb6770f7fa396ee414bdfbda.jpeg "Plugin Testing: Performance, UI, and Functional Testing by Maxim Kolmakov") ](https://www.youtube.com/watch?v=UJexzfG01Qo)
