test

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 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 CreateSession added in v0.9.10

func CreateSession(sessionAssets json.RawMessage) (flows.Session, error)

CreateSession creates a session with the given assets

func CreateTestSession

func CreateTestSession(testServerURL string, actionToAdd flows.Action) (flows.Session, error)

CreateTestSession creates a standard 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