Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentStepImage ¶
CurrentStepImage get the tested image name based on `STEP_IMAGE` env variable
func ParseStepOutput ¶
ParseStepOutput parse step log output, assumes the output contains marker and is parsable JSON
Types ¶
type ExecuteResult ¶
execute imageName with given env variables or args, returns exit code, log, error
type ServiceURL ¶
func NewServiceURL ¶
func NewServiceURL(schema, host, port string) ServiceURL
type Test ¶
type Test struct { // Testcase name Name string // The tested image Image string // Env variables Envs map[string]string // Arguments Args []string // Desired exit code WantExitCode int // Desired error message, can be empty WantError string // Desired output, can be empty WantOutput matcher.Matcher }
Click to show internal directories.
Click to hide internal directories.