testhelper

package
Version: v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2017 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PromptStream *os.File

Functions

func AddPromptResponse

func AddPromptResponse(str string)

func CreateFile

func CreateFile(fpath string, content string) error

func EndpointConfig

func EndpointConfig(str, url string) *endpoint.EndpointConfig

func Folder

func Folder(projectPath string, folder string) error

func RunTestServer

func RunTestServer(response string) *httptest.Server

func Setup

func Setup()

func Teardown

func Teardown()

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL