servertest

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// Mux is the mock server HTTP Request multiplexer
	Mux *http.ServeMux

	// IntegrationMux is the mock server HTTP Request multiplexer for integration tests
	IntegrationMux *http.ServeMux

	// IntegrationServer is the mock server for integration tests
	IntegrationServer *httptest.Server
)

Functions

func Setup

func Setup()

Setup the mock server and setup WeDeploy client setup with it

func SetupIntegration

func SetupIntegration()

SetupIntegration sets up the integration tests mock server

func Teardown

func Teardown()

Teardown the mock server and teardown WeDeploy client

func TeardownIntegration

func TeardownIntegration()

TeardownIntegration teardowns the integration tests mock server

Types

This section is empty.

Jump to

Keyboard shortcuts

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