transform

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultAnalyzeErrors         = true
	DefaultGetErrorDuringAlalyze = true
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultTransform

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

func NewTransform

func NewTransform(opts ...Opt) *DefaultTransform

func (*DefaultTransform) AnalyzeEvents

func (t *DefaultTransform) AnalyzeEvents(events types.SpecEvents, failure types.Failure) error

func (*DefaultTransform) GetAllureSteps

func (t *DefaultTransform) GetAllureSteps() []*allure.Step

type FilterEvents

type FilterEvents func(event types.SpecEvent) bool

type Node

type Node struct {
	BeginEvent types.SpecEvent
	EndEvent   types.SpecEvent
}

type Opt

type Opt func(o *DefaultTransform)

func WillAnalyzeErrors

func WillAnalyzeErrors(analyzeErrors, getErrorDuringAlalyze bool) Opt

func WithFilterEvents

func WithFilterEvents(filter FilterEvents) Opt

type TraceFile

type TraceFile struct {
	FileName   string
	LineNumber int
}

Jump to

Keyboard shortcuts

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