Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OutputValue ¶ added in v1.10.0
type OutputValue int
const ( Text OutputValue = iota Json Junit )
func (*OutputValue) Set ¶ added in v1.10.0
func (o *OutputValue) Set(value string) error
func (OutputValue) String ¶ added in v1.10.0
func (o OutputValue) String() string
func (OutputValue) Type ¶ added in v1.10.0
func (o OutputValue) Type() string
type SummaryObject ¶ added in v1.2.0
type TestResult ¶
type TestResult struct { Name string `xml:"name,attr"` Pass bool `xml:"-"` Stdout string `json:",omitempty" xml:"-"` Stderr string `json:",omitempty" xml:"-"` Errors []string `json:",omitempty" xml:"failure"` Duration time.Duration `xml:"time,attr"` }
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.