Documentation
¶
Overview ¶
Package junit provides simplified structures for JUnit test reports.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestCase ¶
type TestCase struct {
Name string `xml:"name,attr"`
Status string `xml:"status,attr"`
Time int64 `xml:"time,attr" json:"-"`
Skipped *Skipped `xml:"skipped,omitempty"`
Error *Error `xml:"error,omitempty"`
Failure *Failure `xml:"failure,omitempty"`
Timestamp time.Time `xml:"-"`
Suite string `xml:"-"`
N int `xml:"-"`
Type string `xml:"-"`
// State is often test.State, which can be used to emit
// computed values like elapsed time.
//
// This value isn't XML-serialized.
State interface{} `xml:"-"`
// contains filtered or unexported fields
}
func NewTestCase ¶
Click to show internal directories.
Click to hide internal directories.