intellij-sdk-code-samples/tutorials/writing_tests_for_plugins.md
2020-02-27 10:43:08 +01:00

24 lines
1.4 KiB
Markdown

---
title: Testing a Custom Language Plugin
---
<!-- Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. -->
> **NOTE** Please see [Testing Plugins](/basics/testing_plugins/testing_plugins.md) for a general introduction.
This tutorial demonstrates how to write and run automated tests for a custom language plugin.
As an example, the plugin implemented in the [Custom Language Support Tutorial](/tutorials/custom_language_support_tutorial.md) is used to demonstrate functional test development.
* [1. Tests Prerequisites](writing_tests_for_plugins/tests_prerequisites.md)
* [2. Parsing Test](writing_tests_for_plugins/parsing_test.md)
* [3. Completion Test](writing_tests_for_plugins/completion_test.md)
* [4. Annotator Test](writing_tests_for_plugins/annotator_test.md)
* [5. Formatter Test](writing_tests_for_plugins/formatter_test.md)
* [6. Rename Test](writing_tests_for_plugins/rename_test.md)
* [7. Folding Test](writing_tests_for_plugins/folding_test.md)
* [8. Find Usages Test](writing_tests_for_plugins/find_usages_test.md)
* [9. Commenter Test](writing_tests_for_plugins/commenter_test.md)
* [10. Reference Test](writing_tests_for_plugins/reference_test.md)
The plugin and test code can be found in the [simple_language_plugin](https://github.com/JetBrains/intellij-sdk-docs/tree/master/code_samples/simple_language_plugin) code sample.