Help with Plugin Tests (LightPlatformCodeInsightFixtureTestCase)

Answered

Hello,

I would like to write some tests for the plugin that I am building. I have read through the Jetbrains guide on writing tests, but I'm afraid I am very lost.

http://www.jetbrains.org/intellij/sdk/docs/basics/testing_plugins/light_and_heavy_tests.html

Can someone please offer some tips on how to use the LightPlatformCodeInsightFixtureTestCase? I am really not sure where to start, so what methods do I need to extend? How can I use the Fixture to run my AnActionEvent and how do I get the results?

Thank you very much.

1
1 comment

"It depends" :) for testing AnAction, there's com.intellij.testFramework.fixtures.CodeInsightTestFixture#testAction

0

Please sign in to leave a comment.