Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SummaryObject ¶ added in v1.2.0
type SummaryObject struct {
Pass int
Fail int
Total int
Results []*TestResult `json:",omitempty"`
}
type TestResult ¶
type TestResult struct {
Name string
Pass bool
Stdout string `json:",omitempty"`
Stderr string `json:",omitempty"`
Errors []string `json:",omitempty"`
}
func (*TestResult) Error ¶
func (t *TestResult) Error(s string)
func (*TestResult) Errorf ¶
func (t *TestResult) Errorf(s string, args ...interface{})
func (*TestResult) Fail ¶
func (t *TestResult) Fail()
func (*TestResult) IsPass ¶ added in v1.2.0
func (t *TestResult) IsPass() bool
func (*TestResult) String ¶ added in v1.2.0
func (t *TestResult) String() string
Click to show internal directories.
Click to hide internal directories.