Are there any resources for plugin testing? Follow
Answered
Hello,
I have developed a plugin using Intellij sdk. Now, I need to test the implementation. I making use of editor, project, virtual file and psiFile.
Is there a way to mock the editor, project and virtualFile. Can you please help me out in pointing out to resources which would be helpful?
Thanks
Please sign in to leave a comment.
There's a whole section in SDK Docs https://plugins.jetbrains.com/docs/intellij/testing-plugins.html and also tutorial-style walkthrough for custom languages here https://plugins.jetbrains.com/docs/intellij/writing-tests-for-plugins.html