mirror of
https://github.com/JetBrains/intellij-sdk-code-samples.git
synced 2025-07-30 02:07:50 +08:00
Add error recovery
This commit is contained in:
parent
48bd5b9b54
commit
b391785c69
@ -47,10 +47,15 @@ public class SimpleCodeInsightTest extends LightJavaCodeInsightFixtureTestCase {
|
|||||||
|
|
||||||
## 3.3. Run the Test
|
## 3.3. Run the Test
|
||||||
Run the test by:
|
Run the test by:
|
||||||
* Opening the Gradle Tool Window.
|
* Opening the **Gradle** Tool Window.
|
||||||
* Drill down to the `simple_language_plugin`.
|
* Select the `simple_language_plugin`.
|
||||||
You may need to reimport it as a Gradle project.
|
You may need to reimport it as a Gradle project.
|
||||||
* Drill down under `simple_language_plugin` to *Tasks*, *verification*, *test* task.
|
* Drill down under `simple_language_plugin` to *Tasks*, *verification*, *test* task.
|
||||||
* Run the *test* task.
|
* Run the *test* task.
|
||||||
|
|
||||||
The results are displayed in the **Run** Window, and also written to the `simple_language_plugin/build/test-results/test/` directory.
|
The results are displayed in the **Run** Tool Window, and also written to the `simple_language_plugin/build/test-results/test/` directory.
|
||||||
|
|
||||||
|
If the **Run** Tool Window displays the error *Test events were not received*, do the following:
|
||||||
|
* In the **Gradle** Tool Window, drill down under `simple_language_plugin` to *Tasks*, *build*, *clean* task.
|
||||||
|
* Run the *clean* task, which deletes the `simple_language_plugin/build/` directory.
|
||||||
|
* Retry the test.
|
Loading…
x
Reference in New Issue
Block a user