Plugin


Best way to functional test any plugin is to create a test module that implements the plugin. This would provide flexibility as well as full coverage of plugin handlers, forms and access.

Base class

PluginTestBase provides additional APIs on top of KernelTestBase. For example, TestPluginManager.

Reference

  1. block_test module
  2. media_test_source module
  3. aggregator_test module

results matching ""

    No results matching ""