Test Project and Testdata Directories
note
Testing Tutorial and Code SamplesCheck out this step-by-step tutorial teaching how to write and run automated tests for your custom language plugin.
Also, code samples comparing_string_references_inspection and conditional_operator_intention demonstrate using tests.
tip
Configuring Test Frameworks (2024.2+)All required test-framework dependencies must be declared explicitly.
warning
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 rerunning the test, and if that doesn't help, delete the "system" subdirectory in your sandbox directory.