mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
testing custom language: note on testing with Gradle
This commit is contained in:
parent
d46ab84e9a
commit
3b1af4e6a1
@ -25,6 +25,13 @@ All we need to do is point the run configuration's working directory to the root
|
||||
-Didea.system.path=../test-system -Didea.home.path=../ -Didea.config.path=../test-config -Didea.test.group=ALL_EXCLUDE_DEFINED
|
||||
```
|
||||
|
||||
If you're using Gradle, system properties must be passed to forked JVM via `build.gradle`:
|
||||
```
|
||||
test {
|
||||
systemProperty "idea.home.path", "/path/to/community/"
|
||||
}
|
||||
```
|
||||
|
||||
**Note**:
|
||||
|
||||
> Keep in mind that we have changed the _working directory_, so all the paths in tests extended from
|
||||
|
Loading…
x
Reference in New Issue
Block a user