-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref: Move plugin to separate submodule, add plugin api test project #317
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice one! The test project works for me! And this is super helpful to test changes without shooting up a lot of other stuffs.
> Task :plugin-api-test-client:test
PluginApiTests > testWrite() PASSED
PluginApiTests > testWriteBinary() PASSED
PluginApiTests > testDelete() PASSED
The only thing I need to do to change this variable to my case:
private static final String PROJECT_BASE_PATH = "/Users/pczuczor/Projects/intellij-plugin";
Could we mention somewhere that developers need to fine tune this variable to their environment?
(And not sure if it worth the hassle to extract it to app property, but mentioning in readme would be helpful or somewhere)
Other option to make it relative path maybe.
Suggestions applied, please retest |
Test updated, please remember to always run test project while running current plugin snapshot (Run Plugin). Otherwise it will be testing version that is installed by default in IntelliJ. |
plugin-api-test-client/src/test/java/com/vaadin/plugin/PluginApiTests.java
Outdated
Show resolved
Hide resolved
First I did not run the plugin, and it was testing nothing, as the client was null and it was exiting silently. Then I started the plugin, and then I began to get some flakiness said (so deletion was not always working). |
Artifact build on last commit: distributions.zip. |
Plugin com.vaadin.intellij-plugin:1.0-SNAPSHOT against IC-233.11799.241Compatible. 1 usage of deprecated API. 53 usages of experimental API |
Plugin com.vaadin.intellij-plugin:1.0-SNAPSHOT against IU-233.11799.241Compatible. 1 usage of deprecated API. 65 usages of experimental API |
Plugin com.vaadin.intellij-plugin:1.0-SNAPSHOT against IU-251.14649.49Compatible. 2 usages of deprecated API. 37 usages of experimental API |
Plugin com.vaadin.intellij-plugin:1.0-SNAPSHOT against IC-251.14649.49Compatible. 2 usages of deprecated API. 25 usages of experimental API |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's not block this further and merge it! Thank you for the work.
Moved plugin to separate module, added plugin api test project