intellij plugin parameterized tests

已回答

is it possible to run standard parameterized tests in class which extends from LightCodeInsightFixtureTestCase?

1

You can do that but you'll need to ensure that setup/teardown are called from event dispatch thread, see `com.intellij.testFramework.LightPlatformCodeInsightTestCase` to check how the tests may be parameterized by test data files

Anna

1
Avatar
Permanently deleted user

Hi Anna,

I am also trying to use the same class to create some tests for my plugin. Unfortunately, I am a bit lost and haven't been able to make sense of the source code. What would a very simple example test using LightPlatformCodeInsightTestCase look like? Or can you give me some tips on how to proceed with plugin test, beyond what is written in http://www.jetbrains.org/intellij/sdk/docs/basics/testing_plugins/light_and_heavy_tests.html ?

Thank you very much.

0

请先登录再写评论。