Generating classes: How to create UnitTests for?
Hi guys,
at the moment I am trying to create a plugin that generates some classes. Of course I'd love to create Unit Tests to test it.
But I can't figure out how to do that properly. LightCodeInsightFixtureTestCase seems to be the wrong base class...
Any ideas?
请先登录再写评论。
Hi Johannes,
I'm afraid the question is a little bit too vague. Have you read http://confluence.jetbrains.com/display/IDEADEV/Testing+IntelliJ+IDEA+Plugins and http://confluence.jetbrains.com/display/IntelliJIDEA/Writing+Tests+for+Plugins ?
Denis
Thanks for the hints. I have seen those documents but couldn't find what I was looking for.
But today I looked at the Idea source code again and found it: MultiFileTestCase