test

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TestHTTPClient = utils.NewHTTPClient("goflow-testing")

TestHTTPClient a HTTP client instance for tests

Functions

func CreateTestSession

func CreateTestSession(testServerPort int, actionToAdd flows.Action) (flows.Session, error)

CreateTestSession creates an example session for testing

func NewTestHTTPServer

func NewTestHTTPServer(port int) (*httptest.Server, error)

NewTestHTTPServer sets up a mock server for webhook actions

Types

This section is empty.

Jump to

Keyboard shortcuts

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