Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Converter ¶
type Converter struct {
// contains filtered or unexported fields
}
Converter holds data of the converter
func (*Converter) Convert ¶
func (c *Converter) Convert() (testreport.TestReport, error)
type Error ¶
type Error struct { XMLName xml.Name `xml:"error,omitempty"` Message string `xml:"message,attr,omitempty"` Value string `xml:",chardata"` }
Error ...
type Failure ¶
type Failure struct { XMLName xml.Name `xml:"failure,omitempty"` Message string `xml:"message,attr,omitempty"` Value string `xml:",chardata"` }
Failure ...
type FlakyError ¶
type FlakyFailure ¶
type Properties ¶
type RerunError ¶
type RerunFailure ¶
type TestCase ¶
type TestCase struct { XMLName xml.Name `xml:"testcase"` ConfigurationHash string `xml:"configuration-hash,attr"` Name string `xml:"name,attr"` ClassName string `xml:"classname,attr"` Time float64 `xml:"time,attr"` Failure *Failure `xml:"failure,omitempty"` Properties *Properties `xml:"properties,omitempty"` Skipped *Skipped `xml:"skipped,omitempty"` Error *Error `xml:"error,omitempty"` SystemErr string `xml:"system-err,omitempty"` SystemOut string `xml:"system-out,omitempty"` FlakyFailures []FlakyFailure `xml:"flakyFailure,omitempty"` FlakyErrors []FlakyError `xml:"flakyError,omitempty"` RerunFailures []RerunFailure `xml:"rerunFailure,omitempty"` RerunErrors []RerunError `xml:"rerunError,omitempty"` }
TestCase ...
type TestReport ¶
type TestReport struct { XMLName xml.Name `xml:"testsuites"` TestSuites []TestSuite `xml:"testsuite"` }
TestReport ...
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"` Skipped int `xml:"skipped,attr"` Errors int `xml:"errors,attr"` Time float64 `xml:"time,attr"` TestCases []TestCase `xml:"testcase"` }
TestSuite ...
Click to show internal directories.
Click to hide internal directories.