testing custom language: note on testing with Gradle

This commit is contained in:
Yann Cébron 2019-08-05 15:36:41 +02:00
parent d46ab84e9a
commit 3b1af4e6a1

View File

@ -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