Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Properties ¶
type Properties []Property
type SkipMessage ¶
type SkipMessage struct {
Message string `xml:"message,attr"`
}
type TestCase ¶
type TestCase struct {
ClassName string `xml:"classname,attr,omitempty"`
Name string `xml:"name,attr"`
Time string `xml:"time,attr"`
Failure *Failure `xml:"failure"`
SkipMessage *SkipMessage `xml:"skipped,omitempty"`
Systemout string `xml:"system-out,omitempty"`
Systemerr string `xml:"system-err,omitempty"`
}
type TestRun ¶
type TestRun struct {
XMLName xml.Name `xml:"testsuites"`
Name string `xml:"name,attr,omitempty"`
TestSuites []*TestSuite
}
func (*TestRun) AddTestSuite ¶
func (TestRun) WriteToFile ¶
type TestSuite ¶
type TestSuite struct {
XMLName xml.Name `xml:"testsuite"`
Errors int `xml:"errors,attr"`
Failures int `xml:"failures,attr"`
Hostname string `xml:"hostname,attr"`
Name string `xml:"name,attr"`
Tests int `xml:"tests,attr"`
Time float64 `xml:"time,attr"`
Timestamp string `xml:"timestamp,attr"`
Properties Properties `xml:"properties>property,omitempty"`
Testcases []TestCase `xml:"testcase"`
Package string `xml:"package"`
Id string `xml:"id"`
}
Click to show internal directories.
Click to hide internal directories.