Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Class ¶
type Class struct { Name string `xml:"name,attr"` TestMethods []TestMethod `xml:"test-method"` }
type Report ¶
type Report struct { XMLName xml.Name `xml:"testng-results"` Skipped int `xml:"skipped,attr"` Failed int `xml:"failed,attr"` Ignored int `xml:"ignored,attr"` Total int `xml:"total,attr"` Passed int `xml:"passed,attr"` ReporterOutput string `xml:"reporter-output"` Suite Suite `xml:"suite"` }
func (*Report) CountTest ¶
func (r *Report) CountTest(result json.TestAction)
type Suite ¶
type Suite struct { Name string `xml:"name,attr"` DurationMills int `xml:"duration-ms,attr"` StartedAt string `xml:"started-at,attr"` FinishedAt string `xml:"finished-at,attr"` Groups []Group `xml:"groups"` Test Test `xml:"test"` }
func (*Suite) AddGroups ¶
func (s *Suite) AddGroups(groups *properties.Properties, method TestMethod)
func (*Suite) AddTest ¶
func (s *Suite) AddTest(testMethod TestMethod)
type TestMethod ¶
type TestMethod struct { Status string `xml:"status,attr"` Signature string `xml:"signature,attr"` Name string `xml:"name,attr"` DurationMills int `xml:"duration-ms,attr"` StartedAt string `xml:"started-at,attr"` FinishedAt string `xml:"finished-at,attr"` ReporterOutput string `xml:"reporter-output"` Class string `xml:"-"` }
Click to show internal directories.
Click to hide internal directories.