Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FailureDetails ¶
type TestCase ¶
type TestCase struct { Name string `xml:"name,attr"` Time float64 `xml:"time,attr"` ClassName string `xml:"classname,attr"` Failure *FailureDetails `xml:"failure"` Error *FailureDetails `xml:"error"` Skipped *FailureDetails `xml:"skipped"` }
func (TestCase) ToModelTestResultAndLog ¶
ToModelTestResultAndLog converts an xunit test case into an mci task.TestResult and model.TestLog. Logs are only generated if the test case did not succeed (this is part of the xunit xml file design)
type XUnitResults ¶
type XUnitResults []TestSuite
func ParseXMLResults ¶
func ParseXMLResults(reader io.Reader) (XUnitResults, error)
Click to show internal directories.
Click to hide internal directories.