Documentation
¶
Index ¶
- Variables
- func NewJunitReporter() *reporters.JUnitReporter
- type JUnitFailureMessage
- type JUnitSkipped
- type PolarionProperties
- type PolarionProperty
- type PolarionReporter
- func (reporter *PolarionReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *PolarionReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
- func (reporter *PolarionReporter) JustAfterEach(specReport types.SpecReport)
- func (reporter *PolarionReporter) SpecDidComplete(specSummary *types.SpecSummary)
- func (reporter *PolarionReporter) SpecWillRun(specSummary *types.SpecSummary)
- func (reporter *PolarionReporter) SuiteDidEnd(summary *types.SuiteSummary)
- func (reporter *PolarionReporter) SuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
- type PolarionTestCase
- type PolarionTestSuite
Constants ¶
This section is empty.
Variables ¶
View Source
var JunitOutput = ""
View Source
var Polarion = PolarionReporter{}
Functions ¶
func NewJunitReporter ¶
func NewJunitReporter() *reporters.JUnitReporter
Types ¶
type JUnitFailureMessage ¶
type JUnitSkipped ¶
type PolarionProperties ¶
type PolarionProperties struct {
Property []PolarionProperty `xml:"property"`
}
type PolarionProperty ¶
type PolarionReporter ¶
type PolarionReporter struct { Suite PolarionTestSuite Run bool Filename string TestSuiteName string ProjectId string PlannedIn string LookupMethod string TestSuiteParams string TestIDPrefix string TestRunTemplate string TestRunTitle string }
func (*PolarionReporter) AfterSuiteDidRun ¶
func (reporter *PolarionReporter) AfterSuiteDidRun(setupSummary *types.SetupSummary)
func (*PolarionReporter) BeforeSuiteDidRun ¶
func (reporter *PolarionReporter) BeforeSuiteDidRun(setupSummary *types.SetupSummary)
func (*PolarionReporter) JustAfterEach ¶ added in v0.1.8
func (reporter *PolarionReporter) JustAfterEach(specReport types.SpecReport)
func (*PolarionReporter) SpecDidComplete ¶
func (reporter *PolarionReporter) SpecDidComplete(specSummary *types.SpecSummary)
func (*PolarionReporter) SpecWillRun ¶
func (reporter *PolarionReporter) SpecWillRun(specSummary *types.SpecSummary)
func (*PolarionReporter) SuiteDidEnd ¶ added in v0.1.8
func (reporter *PolarionReporter) SuiteDidEnd(summary *types.SuiteSummary)
func (*PolarionReporter) SuiteWillBegin ¶ added in v0.1.8
func (reporter *PolarionReporter) SuiteWillBegin(config config.GinkgoConfigType, summary *types.SuiteSummary)
type PolarionTestCase ¶
type PolarionTestCase struct { Name string `xml:"name,attr"` Properties PolarionProperties `xml:"properties"` FailureMessage *JUnitFailureMessage `xml:"failure,omitempty"` Skipped *JUnitSkipped `xml:"skipped,omitempty"` SystemOut string `xml:"system-out,omitempty"` }
type PolarionTestSuite ¶
type PolarionTestSuite struct { XMLName xml.Name `xml:"testsuite"` Tests int `xml:"tests,attr"` Failures int `xml:"failures,attr"` Time float64 `xml:"time,attr"` Properties PolarionProperties `xml:"properties"` TestCases []PolarionTestCase `xml:"testcase"` }
Click to show internal directories.
Click to hide internal directories.