Documentation ¶
Overview ¶
Package tester provides functionality to test the bot against a fake slack server
Index ¶
Constants ¶
View Source
const ( TestChannel = "dev" User = "cli" )
TestChannel is just a test channel name which is used for testing
Variables ¶
View Source
var FakeServerURL string
FakeServerURL is the host for the fake Slack server endpoint. It can be also used to send fake responses.
Functions ¶
func HandleMessage ¶ added in v2.2.4
func HandleMessage(text string)
HandleMessage is used in the CLI context to process the given message test for the "cli" user
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.