--- 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. * [Tests Prerequisites](tutorials/writing_tests_for_plugins/tests_prerequisites.html) * [Parsing Test](tutorials/writing_tests_for_plugins/parsing_test.html) * [Completion Test](tutorials/writing_tests_for_plugins/completion_test.html) * [Annotator Test](tutorials/writing_tests_for_plugins/annotator_test.html) * [Formatter Test](tutorials/writing_tests_for_plugins/formatter_test.html) * [Rename Test](tutorials/writing_tests_for_plugins/rename_test.html) * [Folding Test](tutorials/writing_tests_for_plugins/folding_test.html) * [Find Usages Test](tutorials/writing_tests_for_plugins/find_usages_test.html) * [Commenter Test](tutorials/writing_tests_for_plugins/commenter_test.html) * [Reference Test](tutorials/writing_tests_for_plugins/reference_test.html) The final code can be found on [GitHub](http://github.com/cheptsov/SimplePlugin).