Documentation ¶
Index ¶
- Constants
- func RunAPI(T *Tester, verbose int) (err error)
- func RunBash(T *Tester, verbose int) (err error)
- func RunExec(T *Tester, verbose int) (err error)
- func RunHLS(T *Tester, verbose int) (err error)
- func RunTSuite(T *Tester, verbose int) (err error)
- func RunTest(T *Tester, verbose int) (err error)
- func RunTestFromArgsFlags(args []string, cmdflags flags.TestFlagpole) error
- type BaseTester
- type BashTester
- type ExecTester
- type Stats
- type Suite
- type Tester
Constants ¶
View Source
const HTTP2_GOAWAY_CHECK = "http2: server sent GOAWAY and closed the connection"
Variables ¶
This section is empty.
Functions ¶
func RunTestFromArgsFlags ¶
func RunTestFromArgsFlags(args []string, cmdflags flags.TestFlagpole) error
Types ¶
type BashTester ¶
type BashTester struct { BaseTester Script string }
type ExecTester ¶
type ExecTester struct { BaseTester Command string }
type Suite ¶
type Suite struct { // Name of the Suite (Cue field) Name string // Runtime the Cue values were built from CRT *cue.Runtime // Cue Value for the Suite Value cue.Value // Extracted testers, including any selectors Tests []Tester // pass/fail/skip stats Stats Stats // Total Suite runtime (to account for gaps between tests) Runtime time.Duration // Errors encountered during the testing Errors []error }
A suite is a collection of testers
type Tester ¶
type Tester struct { // Name of the Tester (Cue field) Name string // Type of the Tester (@test(key[0])) Type string // Runtime the Cue values were built from CRT *cue.Runtime // Cue Value for the Tester Value cue.Value // Execution output Output string // pass/fail/skip stats Stats Stats // Errors encountered during the testing Errors []error }
A tester has configuration for running a set of tests
Click to show internal directories.
Click to hide internal directories.