Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Type string `xml:"type,attr,omitempty" yaml:"type" json:"type" ` Value string `xml:"cdata,omitempty" yaml:"value" json:"value"` }
Error represents an error xunit node
type Nodes ¶
type Nodes struct { Expected string `xml:"expected,attr,omitempty" yaml:"expected,omitempty" json:"expected,omitempty" ` Result string `xml:"result,attr,omitempty" yaml:"result,omitempty" json:"result,omitempty" ` Nodes []*Nodes `xml:"nodes,omitempty" yaml:"nodes,omitempty" json:"nodes,omitempty" ` Error *Error `xml:"error,omitempty" yaml:"error,omitempty" json:"error,omitempty" ` }
Nodes represents an error xunit nodes
type TestCase ¶
type TestCase struct { Name string `xml:"name,attr,omitempty" yaml:"name,omitempty" json:"name,omitempty"` Label string `xml:"label,attr,omitempty" yaml:"label,omitempty" json:"label,omitempty"` Skip string `xml:"skip,attr,omitempty" yaml:"skip,omitempty" json:"skip,omitempty"` Tests string `xml:"tests,attr,omitempty" yaml:"tests,omitempty" json:"tests,omitempty"` Failures string `xml:"failures,attr,omitempty" yaml:"failures,omitempty" json:"failures,omitempty" ` FailuresDetail string `xml:"failures-detail,attr,omitempty" yaml:"failures-detail,omitempty" json:"failures-detail,omitempty"` Errors string `xml:"errors,attr,omitempty" yaml:"errors,omitempty" json:"errors,omitempty"` ErrorsDetail string `xml:"errors-detail,attr,omitempty" yaml:"errors-detail,omitempty" json:"errors-detail,omitempty"` TestCases string `xml:"test-cases,attr,omitempty" yaml:"test-cases,omitempty" json:"test-cases,omitempty"` Reports string `xml:"reports,attr,omitempty" yaml:"reports,omitempty" json:"reports,omitempty"` Time string `xml:"time,attr,omitempty" yaml:"time,omitempty" json:"time,omitempty"` Nodes *Nodes `xml:"nodes,omitempty" yaml:"nodes,omitempty" json:"nodes,omitempty"` Sysout string `xml:"sysout,omitempty" yaml:"sysout,omitempty" json:"sysout,omitempty"` Syserr string `xml:"syserr,omitempty" yaml:"syserr,omitempty" json:"syserr,omitempty"` }
TestCase represents an error test-case nodes
type Testsuite ¶
type Testsuite struct { Name string `xml:"name,attr,omitempty" yaml:"name,omitempty" json:"name,omitempty" ` Errors string `xml:"errors,attr,omitempty" yaml:"errors,omitempty" json:"errors,omitempty" ` ErrorsDetail string `xml:"errors-detail,attr,omitempty" yaml:"errors-detail,omitempty" json:"errors-detail,omitempty" ` Failures string `xml:"failures,attr,omitempty" yaml:"failures,omitempty" json:"failures,omitempty" ` FailuresDetail string `xml:"failures-detail,attr,omitempty" yaml:"failures-detail,omitempty" json:"failures-detail,omitempty" ` Tests string `xml:"tests,attr" yaml:"tests,omitempty" json:"tests,omitempty" ` TestCases string `xml:"test-cases,attr,omitempty" yaml:"test-cases,omitempty" json:"test-cases,omitempty" ` Reports string `xml:"reports,attr" yaml:"reports,omitempty" json:"reports,omitempty" ` Time string `xml:"time,attr,omitempty" yaml:"time,omitempty" json:"time,omitempty" ` TestCase []*TestCase `xml:"testcase" yaml:"test-case,omitempty" json:"test-case,omitempty" ` }
Testsuite represents an error test-suite nodes
func NewTestsuite ¶
func NewTestsuite() *Testsuite
Click to show internal directories.
Click to hide internal directories.