forked from VirtusLab/ide-probe
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document available probe endpoints and how to write tests (VirtusLab#12)
* Describe writing tests and available probe endpoints * Set non-headless mode as the default
- Loading branch information
Marek Żarnowski
authored
Jul 22, 2020
1 parent
48cbbaa
commit 9810d48
Showing
9 changed files
with
212 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#### Probe commands | ||
|
||
- Await Notification - waits until the IDE issues a notification with a specified title | ||
- Await Idle - waits until there is no more background tasks running | ||
- Build - builds the specified file, module or project | ||
- Close Project - closes the specified project | ||
- Invoke Action Async - invokes the specified actions without waiting for it to finish | ||
- Invoke Action - invokes the specified actions and waits for it to finish | ||
- Open Project - opens the specified file as a project | ||
- Run - runs main class using the specified configuration | ||
- Run JUnit - runs the specified JUnit configuration | ||
- Shutdown - starts the process of shutting down the IDE | ||
- Take screenshot - saves the current view of the IDE alongside the automatically captured screenshots |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#### Probe queries | ||
|
||
- File References - returns all the files referenced by the specified file | ||
- Find - returns all navigable elements matching the specified pattern in the specified project | ||
- Freezes - returns the list of all freezes detected by the IDE | ||
- List Open Projects - lists currently open projects | ||
- Messages - returns the log of all messages produced by the IDE | ||
- Module SDK - returns the SDK of the specified module | ||
- PID - returns the Process ID of the IDE | ||
- Plugins - returns the list of all installed plugins | ||
- Project SDK - returns the SDK of the specified project | ||
- Sync Files - refreshes the file cache (useful, when those were modified outside of IDE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.