tester

package
Version: v1.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package tester provides functionality to test the bot against a fake slack server

Index

Constants

View Source
const TestChannel = "#dev"

TestChannel is just a test channel name which is used for testing

Variables

This section is empty.

Functions

func StartBot

func StartBot(cfg config.Config) *bot.Bot

StartBot will start this bot against the fake slack instance

func StartFakeSlack

func StartFakeSlack(cfg *config.Config, output io.Writer) *slacktest.Server

StartFakeSlack will start a http server which implements the basic Slack API

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL