| 1 | --- |
| 2 | name: IntelliJ Plugin Test Execution |
| 3 | description: Guidelines for running IntelliJ plugin tests with Gradle |
| 4 | alwaysApply: false |
| 5 | globs: extensions/intellij/**/*Test.kt |
| 6 | --- |
| 7 | |
| 8 | Run IntelliJ plugin tests using Gradle with the fully qualified test class or method name: |
| 9 | |
| 10 | ## Run test class |
| 11 | |
| 12 | ```bash |
| 13 | ./gradlew test --tests "com.github.continuedev.continueintellijextension.unit.ApplyToFileHandlerTest" |
| 14 | ``` |
| 15 | |
| 16 | ## Run specific test method |
| 17 | |
| 18 | ```bash |
| 19 | ./gradlew test --tests "com.github.continuedev.continueintellijextension.unit.ApplyToFileHandlerTest.should*" |
| 20 | ``` |