Versions in this module Expand all Collapse all v1 v1.0.1 Oct 13, 2023 Changes in this version + const NsModel + type Attachment struct + Size int + Source string + Title string + Type string + func NewAttachment(title, mime, source string, size int) *Attachment + type Label struct + Name string + Value string + type Step struct + Attachments []*Attachment + Name string + Parent *Step + Start int64 + Status string + Steps []*Step + Stop int64 + func NewStep(name string, start time.Time) *Step + func (s *Step) AddStep(step *Step) + func (s *Step) End(status string, end time.Time) + type Suite struct + End int64 + Name string + NsAttr string + Start int64 + TestCases struct{ ... } + Title string + XMLName xml.Name + func NewSuite(name string, start time.Time) *Suite + func (s *Suite) AddTest(test *TestCase) + func (s *Suite) SetEnd(endTime time.Time) + func (s Suite) HasTests() bool + type TestCase struct + Attachments struct{ ... } + Desc string + Failure struct{ ... } + Labels struct{ ... } + Name string + Start int64 + Status string + Steps struct{ ... } + Stop int64 + func NewTestCase(name string, start time.Time) *TestCase + func (t *TestCase) AddAttachment(attach *Attachment) + func (t *TestCase) AddLabel(name, value string) + func (t *TestCase) AddStep(step *Step) + func (t *TestCase) End(status string, err error, end time.Time) + func (t *TestCase) SetDescription(desc string) + func (t *TestCase) SetDescriptionOrDefaultValue(desc string, defVal string)