Tests and Fixtures
The IntelliJ Platform testing infrastructure is not tied to any specific test framework. In fact, the IntelliJ IDEA Team uses JUnit, TestNG, and Cucumber for testing different parts of the project. However, most of the tests are written using JUnit 3.
When writing tests, you can choose between a standard base class that performs the test setup and a fixture class, which leaves the setup to the test and does not tie it to a specific test framework.
With the former approach, use classes such as BasePlatformTestCase.
With the latter approach, use IdeaTestFixtureFactory to create instances of fixtures for the test environment. Call the fixture creation and setup methods from the test setup method used by the test framework.
10 November 2026