Documentation
¶
Index ¶
- func AssertHTTPHelloWorld(t *testing.T, output interface{}, headers map[string]string) bool
- func AssertHTTPResult(t *testing.T, output interface{}, headers map[string]string, ...) bool
- func AssertHTTPResultShapeWithRetry(t *testing.T, output interface{}, headers map[string]string, ...) bool
- func AssertHTTPResultWithRetry(t *testing.T, output interface{}, headers map[string]string, ...) bool
- func GetBaseOptions(t *testing.T) integration.ProgramTestOptions
- func GetCwd(t *testing.T) string
- func ProgramTest(t *testing.T, opts *integration.ProgramTestOptions)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertHTTPHelloWorld ¶
func AssertHTTPResult ¶
func GetBaseOptions ¶
func GetBaseOptions(t *testing.T) integration.ProgramTestOptions
func ProgramTest ¶
func ProgramTest(t *testing.T, opts *integration.ProgramTestOptions)
ProgramTest runs opts as an integration test, skipping it when the run has been scoped to a set of changed directories that does not cover opts.Dir.
Tests must call this rather than integration.ProgramTest directly; a test that calls integration.ProgramTest opts out of PR scoping and will deploy on every pull request.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.