Documentation ¶
Index ¶
Constants ¶
View Source
const NsModel = `urn:model.allure.qatools.yandex.ru`
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attachment ¶
type Attachment struct { Title string `xml:"title,attr"` Type string `xml:"type,attr"` Size int `xml:"size,attr"` Source string `xml:"source,attr"` }
func NewAttachment ¶
func NewAttachment(title, mime, source string, size int) *Attachment
type Step ¶
type Suite ¶
type TestCase ¶
type TestCase struct { Status string `xml:"status,attr"` Start int64 `xml:"start,attr"` Stop int64 `xml:"stop,attr"` Name string `xml:"name"` Steps struct { Steps []*Step `xml:"step"` } `xml:"steps"` Labels struct { Label []*Label `xml:"label"` } `xml:"labels"` Attachments struct { Attachment []*Attachment `xml:"attachment"` } `xml:"attachments"` Desc string `xml:"description"` Failure struct { Msg string `xml:"message"` Trace string `xml:"stack-trace"` } `xml:"failure,omitempty"` }
func (*TestCase) AddAttachment ¶
func (t *TestCase) AddAttachment(attach *Attachment)
func (*TestCase) SetDescription ¶
Click to show internal directories.
Click to hide internal directories.