I'm writing an IDEA plugin, which will allow two opened standalone IDEA to communicate with each other(they will send messages to a shared server socket, and redirect to another).
But I'm not sure how to write a test. I've read this document: https://confluence.jetbrains.com/display/IDEADEV/Testing+IntelliJ+IDEA+Plugins , but I can only find some examples using only one IDEA.
Is there any way to make such test possible:
1. open "/projects/a" with IDEA
2. open "/projects/b" with another standalone IDEA instance
3. one IDEA instance creates file "Hello.java"
4. check another one has created the same file