In this tutorial you will learn how to write and run automated tests for your plugin.
As an example we will take the plugin implemented in the Custom Language Support and cover its code with functional tests.
- 1. Tests Prerequisites
- 2. Parsing Test
- 3. Completion Test
- 4. Annotator Test
- 5. Formatter Test
- 6. Rename Test
- 7. Folding Test
- 8. Find Usages Test
- 9. Commenter Test
- 10. Reference Test
The final code can be found on GitHub.