Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Properties ¶
type TestCase ¶
type TestCase struct {
XMLName xml.Name `xml:"testcase"`
// ConfigurationHash is used to distinguish the same test case runs,
// performed with different build configurations (e.g., Debug vs. Release) or different devices/simulators
ConfigurationHash string `xml:"configuration-hash,attr,omitempty"`
Name string `xml:"name,attr"`
ClassName string `xml:"classname,attr"`
Assertions int `xml:"assertions,attr,omitempty"`
Time float64 `xml:"time,attr"`
File string `xml:"file,attr,omitempty"`
Line int `xml:"line,attr,omitempty"`
Failure *Failure `xml:"failure,omitempty"`
Error *Error `xml:"error,omitempty"`
Skipped *Skipped `xml:"skipped,omitempty"`
Properties *Properties `xml:"properties,omitempty"`
SystemOut *SystemOut `xml:"system-out,omitempty"`
SystemErr *SystemErr `xml:"system-err,omitempty"`
}
type TestReport ¶
type TestReport struct {
XMLName xml.Name `xml:"testsuites"`
TestSuites []TestSuite `xml:"testsuite"`
}
TestReport is the internal test report structure used to present test results.
type TestSuite ¶
type TestSuite struct {
XMLName xml.Name `xml:"testsuite"`
Name string `xml:"name,attr"`
Tests int `xml:"tests,attr"`
Failures int `xml:"failures,attr"`
Errors int `xml:"errors,attr"`
Skipped int `xml:"skipped,attr"`
Assertions int `xml:"assertions,attr,omitempty"`
Time float64 `xml:"time,attr"`
Timestamp string `xml:"timestamp,attr,omitempty"`
File string `xml:"file,attr,omitempty"`
TestCases []TestCase `xml:"testcase,omitempty"`
TestSuites []TestSuite `xml:"testsuite,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.