summaryrefslogtreecommitdiffstats
path: root/plugin/plugin.go
diff options
context:
space:
mode:
authorChris <ccbrown112@gmail.com>2017-11-07 13:12:38 -0600
committerCorey Hulen <corey@hulen.com>2017-11-07 11:12:38 -0800
commit1d1998c6686e969a6d3fdfcdfa0592ea5945bb9c (patch)
treedb090ad6df64e4cd555fdfe3c0ffebd3e307c8f0 /plugin/plugin.go
parent61db2ff59bc5146a85a8275a4ce231eb1d5e03f1 (diff)
downloadchat-1d1998c6686e969a6d3fdfcdfa0592ea5945bb9c.tar.gz
chat-1d1998c6686e969a6d3fdfcdfa0592ea5945bb9c.tar.bz2
chat-1d1998c6686e969a6d3fdfcdfa0592ea5945bb9c.zip
add a few docs for plugin testing (#7798)
* add a few docs for plugin testing * fix typo
Diffstat (limited to 'plugin/plugin.go')
-rw-r--r--plugin/plugin.go6
1 files changed, 6 insertions, 0 deletions
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