Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(report ginkgo.Report, destFile, projectTag string)
Create writes report to a given xml file.
func SetProperty ¶
func SetProperty(propertyKey, propertyValue string) ginkgo.Labels
SetProperty sets test id for a test case.
Types ¶
type FailureMessage ¶
FailureMessage represents fail message.
type Properties ¶
type Properties struct {
Property []Property `xml:"property"`
}
Properties structure represents test case properties.
type Skipped ¶
type Skipped struct { XMLName xml.Name `xml:"skipped"` Message string `xml:"message,attr,omitempty"` }
Skipped represents skip message.
type TestCase ¶
type TestCase struct { Name string `xml:"name,attr"` Properties Properties `xml:"properties"` FailureMessage *FailureMessage `xml:"failure,omitempty"` Skipped *Skipped `xml:"skipped,omitempty"` SystemOut string `xml:"system-out,omitempty"` }
TestCase represents formatted test case.
type TestSuite ¶
type TestSuite struct { XMLName xml.Name `xml:"testsuite"` Name string `xml:"name,attr"` Tests int `xml:"tests,attr"` Skipped int `xml:"skipped,attr"` Failures int `xml:"failures,attr"` Time float64 `xml:"time,attr"` Properties Properties `xml:"properties"` TestCases []TestCase `xml:"testcase"` }
TestSuite represents formatted test suite.
Click to show internal directories.
Click to hide internal directories.