allure_report

package
v1.21.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Allure

type Allure struct {
	Suites    []*beans.Suite
	TargetDir string
}

func New

func New(suites []*beans.Suite) *Allure

func (*Allure) AddAttachment

func (a *Allure) AddAttachment(attachmentName, buf bytes.Buffer, typ string)

func (*Allure) CreateStep

func (a *Allure) CreateStep(name string, stepFunc func())

func (*Allure) EndCase

func (a *Allure) EndCase(status string, err error, end time.Time)

func (*Allure) EndStep

func (a *Allure) EndStep(status string, end time.Time)

func (*Allure) EndSuite

func (a *Allure) EndSuite(end time.Time) error

func (*Allure) GetCurrentSuite

func (a *Allure) GetCurrentSuite() *beans.Suite

func (*Allure) PendingCase

func (a *Allure) PendingCase(testName string, start time.Time)

func (*Allure) StartCase

func (a *Allure) StartCase(testName string, start time.Time) *beans.TestCase

func (*Allure) StartStep

func (a *Allure) StartStep(stepName string, start time.Time)

func (*Allure) StartSuite

func (a *Allure) StartSuite(name string, start time.Time)

type AllureReportOutput

type AllureReportOutput struct {
	// contains filtered or unexported fields
}

func NewOutput

func NewOutput(suiteName, reportLocation string) *AllureReportOutput

func (*AllureReportOutput) Finalize

func (o *AllureReportOutput) Finalize()

func (*AllureReportOutput) Process

func (o *AllureReportOutput) Process(t models.TestInterface, result *models.Result) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL