how to create base project for unit testing

Hi, I´m creating a plugin that generates classes and methods, so I work a lot with the Psi model and some Intellij IDEA actions, well, the fact is that I want to create some integration tests. How could I create a base test class for mocking a intellij java project to test my code? Could someone point me to an example in the source of community edition? Thank you.

1 comment
Comment actions Permalink

I found that this is already created in the test framework, I managed to run unit tests for my plugin extending com.intellij.testFramework.IdeaTestCase.


Please sign in to leave a comment.