light_and_heavy_tests.md: mention DefaultLightProjectDescriptor

This commit is contained in:
Yann Cébron 2024-07-23 11:38:06 +02:00
parent 94a47f3a61
commit 74cabd2ab5

View File

@ -64,6 +64,8 @@ It is done by extending the [`LightProjectDescriptor`](%gh-ic%/platform/testFram
Before executing each test, the project instance will be reused if the test case returns the same project descriptor as the previous one or recreated if the descriptor is different (`equals() = false`). Before executing each test, the project instance will be reused if the test case returns the same project descriptor as the previous one or recreated if the descriptor is different (`equals() = false`).
When [testing JVM languages](testing_faq.md#how-to-test-a-jvm-language), see also [`DefaultLightProjectDescriptor`](%gh-ic%/java/testFramework/src/com/intellij/testFramework/fixtures/DefaultLightProjectDescriptor.java).
## Heavy Tests ## Heavy Tests
The standard way of writing a heavy test is to extend [`HeavyPlatformTestCase`](%gh-ic%/platform/testFramework/src/com/intellij/testFramework/HeavyPlatformTestCase.java). The standard way of writing a heavy test is to extend [`HeavyPlatformTestCase`](%gh-ic%/platform/testFramework/src/com/intellij/testFramework/HeavyPlatformTestCase.java).