Documentation
¶
Overview ¶
Package plugin_test provides tools used to tests plugins.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PluginValidityChecker ¶
func PluginValidityChecker(t *testing.T, pluginInstance *plugin.Plugin, desc PluginTestDesc)
PluginValidityChecker checks if the plugin works as expected
Types ¶
type PluginTestDesc ¶
type PluginTestDesc struct { ConfigJSON string ValueChecker OmegaMatcher }
PluginTestDesc contains an example of a test plugin configuration and a matcher to test values, used by the PluginValidityChecker.
Click to show internal directories.
Click to hide internal directories.