type JUnitFailureMessage struct { Type string `xml:"type,attr"` Message string `xml:",chardata"` }
type JUnitPassedMessage struct { Message string `xml:",chardata"` }
type JUnitSkipped struct { XMLName xml.Name `xml:"skipped"` }
type JUnitTestCase struct { Name string `xml:"name,attr"` ClassName string `xml:"classname,attr"` PassedMessage *JUnitPassedMessage `xml:"passed,omitempty"` FailureMessage *JUnitFailureMessage `xml:"failure,omitempty"` Skipped *JUnitSkipped `xml:"skipped,omitempty"` Time float64 `xml:"time,attr"` SystemOut string `xml:"system-out,omitempty"` }
type JUnitTestSuite struct { XMLName xml.Name `xml:"testsuite"` TestCases []JUnitTestCase `xml:"testcase"` Name string `xml:"name,attr"` Tests int `xml:"tests,attr"` Failures int `xml:"failures,attr"` Errors int `xml:"errors,attr"` Time float64 `xml:"time,attr"` }
type V1JUnitReporter struct { ReporterConfig config.DefaultReporterConfigType // contains filtered or unexported fields }
func NewV1JUnitReporter(filename string) *V1JUnitReporter
NewV1JUnitReporter creates a new V1 JUnit XML reporter. The XML will be stored in the passed in filename.
func (reporter *V1JUnitReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
func (reporter *V1JUnitReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
func (reporter *V1JUnitReporter) SpecDidComplete(specSummary *types.SpecSummary)
func (reporter *V1JUnitReporter) SpecWillRun(specSummary *types.SpecSummary)
func (reporter *V1JUnitReporter) SuiteDidEnd(summary *types.SuiteSummary)
func (reporter *V1JUnitReporter) SuiteWillBegin(ginkgoConfig config.GinkgoConfigType, summary *types.SuiteSummary)