diff --git a/topics/basics/testing_plugins/light_and_heavy_tests.md b/topics/basics/testing_plugins/light_and_heavy_tests.md index fd3fda98e..401b45b86 100644 --- a/topics/basics/testing_plugins/light_and_heavy_tests.md +++ b/topics/basics/testing_plugins/light_and_heavy_tests.md @@ -1,9 +1,11 @@ - + # Light and Heavy Tests Introduction to light tests reusing a single project for multiple tests, and heavy tests creating a new project for each test. + + Plugin tests run in a real, rather than mocked, IntelliJ Platform environment and use real implementations for most application and project [services](plugin_services.md). diff --git a/topics/basics/testing_plugins/test_project_and_testdata_directories.md b/topics/basics/testing_plugins/test_project_and_testdata_directories.md index 19f78b615..2abf2490d 100644 --- a/topics/basics/testing_plugins/test_project_and_testdata_directories.md +++ b/topics/basics/testing_plugins/test_project_and_testdata_directories.md @@ -1,9 +1,11 @@ - + # Test Project and Testdata Directories Adding test data to test projects used during tests execution. + + The test fixture creates a *test project* environment. diff --git a/topics/basics/testing_plugins/testing_highlighting.md b/topics/basics/testing_plugins/testing_highlighting.md index 41724e235..0d4ed2dad 100644 --- a/topics/basics/testing_plugins/testing_highlighting.md +++ b/topics/basics/testing_plugins/testing_highlighting.md @@ -1,9 +1,11 @@ - + # Testing Highlighting Testing highlighting the code highlighted with various APIs. + + When writing plugin tests, a common task is testing various kinds of highlighting (inspections, annotators, parser error highlighting, etc.). diff --git a/topics/basics/testing_plugins/testing_plugins.md b/topics/basics/testing_plugins/testing_plugins.md index 2f135e11f..b5fa7049c 100644 --- a/topics/basics/testing_plugins/testing_plugins.md +++ b/topics/basics/testing_plugins/testing_plugins.md @@ -36,11 +36,12 @@ Check out [](integration_tests_intro.md) tutorial that guides through setup proc > Check out [this step-by-step tutorial](writing_tests_for_plugins.md) teaching how to write and run automated tests for your custom language plugin. +> > Also, code samples > [comparing_string_references_inspection](%gh-sdk-samples-master%/comparing_string_references_inspection) > and [conditional_operator_intention](%gh-sdk-samples-master%/conditional_operator_intention) demonstrate using tests. > -{style="note"} +{style="note" title="Testing Tutorial and Code Samples"} diff --git a/topics/basics/testing_plugins/tests_and_fixtures.md b/topics/basics/testing_plugins/tests_and_fixtures.md index 86b82fb58..89bc06f35 100644 --- a/topics/basics/testing_plugins/tests_and_fixtures.md +++ b/topics/basics/testing_plugins/tests_and_fixtures.md @@ -4,6 +4,8 @@ Main approaches for implementing tests. + + The IntelliJ Platform testing infrastructure is not tied to any specific test framework. In fact, the IntelliJ IDEA Team uses [JUnit](https://junit.org), [TestNG](https://testng.org), and [Cucumber](https://cucumber.io/) for testing different parts of the project. However, most of the tests are written using JUnit 3. diff --git a/topics/basics/testing_plugins/writing_tests.md b/topics/basics/testing_plugins/writing_tests.md index 1ac51e213..441e849ec 100644 --- a/topics/basics/testing_plugins/writing_tests.md +++ b/topics/basics/testing_plugins/writing_tests.md @@ -1,9 +1,11 @@ - + # Writing Tests Introduction to implementing tests. + + In most cases, once you have the necessary files copied to the test project and loaded into the in-memory editor, writing the test itself involves invoking your plugin code and has few dependencies on the test framework.