Documentation ¶
Index ¶
- func RunUnitTestsCommand(configFile string, testFiles []string, verbose bool) int
- type Reporter
- func (r *Reporter) Failed() bool
- func (r *Reporter) RecordSuiteError(suiteID string, err error)
- func (r *Reporter) RecordTestError(suiteID string, testID int, err error)
- func (r *Reporter) RecordTestFailure(suiteID string, testID, entryID int, expectedLog, actualLog TestLog)
- func (r *Reporter) RecordTestSuccess(suiteID string, testID, entryID int, expectedLog, actualLog TestLog)
- func (r *Reporter) Summary() string
- type Result
- type TestCase
- type TestLog
- type TestSuite
- type TestSuiteConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Reporter ¶
type Reporter struct {
// contains filtered or unexported fields
}
func NewReporter ¶
func (*Reporter) RecordSuiteError ¶
func (*Reporter) RecordTestError ¶
func (*Reporter) RecordTestFailure ¶
func (*Reporter) RecordTestSuccess ¶
type TestCase ¶
type TestLog ¶
type TestSuite ¶
type TestSuite struct {
// contains filtered or unexported fields
}
func NewTestSuite ¶
func NewTestSuites ¶
type TestSuiteConfig ¶
type TestSuiteConfig struct { Filepath string `yaml:"-"` JobName string `yaml:"job_name"` TestCases []TestCase `yaml:"tests"` }
func LoadTestSuiteConfig ¶
func LoadTestSuiteConfig(file string) (*TestSuiteConfig, error)
Click to show internal directories.
Click to hide internal directories.