From 1d1998c6686e969a6d3fdfcdfa0592ea5945bb9c Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 7 Nov 2017 13:12:38 -0600 Subject: add a few docs for plugin testing (#7798) * add a few docs for plugin testing * fix typo --- plugin/plugin.go | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'plugin/plugin.go') diff --git a/plugin/plugin.go b/plugin/plugin.go index b14ab7ced..3150bf56a 100644 --- a/plugin/plugin.go +++ b/plugin/plugin.go @@ -9,4 +9,10 @@ // Plugins should define a type that implements some of the methods from the Hook interface, then // pass an instance of that object into the rpcplugin package's Main function (See the HelloWorld // example.). +// +// Testing +// +// To make testing plugins easier, you can use the plugintest package to create a mock API for your +// plugin to interact with. See +// https://godoc.org/github.com/mattermost/mattermost-server/plugin/plugintest package plugin -- cgit v1.2.3-1-g7c22