--- layout: editable title: Writing Tests For Plugins --- 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](cls_tutorial.html) and cover its code with functional tests. * [1. Tests Prerequisites](tutorials/writing_tests_for_plugins/tests_prerequisites.html) * [2. Parsing Test](tutorials/writing_tests_for_plugins/parsing_test.html) * [3. Completion Test](tutorials/writing_tests_for_plugins/completion_test.html) * [4. Annotator Test](tutorials/writing_tests_for_plugins/annotator_test.html) * [5. Formatter Test](tutorials/writing_tests_for_plugins/formatter_test.html) * [6. Rename Test](tutorials/writing_tests_for_plugins/rename_test.html) * [7. Folding Test](tutorials/writing_tests_for_plugins/folding_test.html) * [8. Find Usages Test](tutorials/writing_tests_for_plugins/find_usages_test.html) * [9. Commenter Test](tutorials/writing_tests_for_plugins/commenter_test.html) * [10. Reference Test](tutorials/writing_tests_for_plugins/reference_test.html) The final code can be found on [GitHub](http://github.com/cheptsov/SimplePlugin).