test_project_and_testdata_directories.md: Gradle vs DevKit sandbox

This commit is contained in:
Yann Cébron 2019-02-22 16:56:17 +01:00
parent a4c32d342e
commit 6ba5b181bd

View File

@ -8,7 +8,7 @@ The test fixture creates a *test project* environment. Unless you customize the
> **Note** If your tests use the in-memory implementation, and you abort the execution of your tests, the persisted filesystem caches may get out of sync with the in-memory structures, and you may get spurious errors in your tests.
>
> If you get an unexpected error after a series of successful runs, **try running the test again**, and if that doesn't help, **delete the "system" subdirectory** under the sandbox directory specified in the *IntelliJ Platform* SDK settings.
> If you get an unexpected error after a series of successful runs, **try running the test again**, and if that doesn't help, **delete the "system" subdirectory** in your sandbox directory (specified via `sandboxDirectory` for Gradle setups or in the *IntelliJ Platform* SDK settings for Devkit setups) .
In your plugin, you normally store the test data for your tests (such as files on which plugin features will be executed and expected output files) in the `testdata` directory. This is just a directory under the content root of your plugin, but not under a source root. Files in `testdata` are normally not valid source code and must not be compiled.