From 3b1af4e6a166e079a901d05be29b81aab166deef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Mon, 5 Aug 2019 15:36:41 +0200 Subject: [PATCH] testing custom language: note on testing with Gradle --- tutorials/writing_tests_for_plugins/tests_prerequisites.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tutorials/writing_tests_for_plugins/tests_prerequisites.md b/tutorials/writing_tests_for_plugins/tests_prerequisites.md index de83ef8af..50c9ae0d4 100644 --- a/tutorials/writing_tests_for_plugins/tests_prerequisites.md +++ b/tutorials/writing_tests_for_plugins/tests_prerequisites.md @@ -23,6 +23,13 @@ All we need to do is point the run configuration's working directory to the root ``` -ea -Xbootclasspath/p:../out/classes/production/boot -XX:+HeapDumpOnOutOfMemoryError -Xmx512m -XX:MaxPermSize=320m -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**: