Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IsFlaky

type IsFlaky struct{}

IsFlaky detects if annotation.isFlakyTest() is called.

func NewIsFlaky

func NewIsFlaky() *IsFlaky

NewIsFlaky creates and returns a IsFlaky object.

func (*IsFlaky) Check

func (lr *IsFlaky) Check(aNode ast.Node, fs *token.FileSet, lrp *checker.Report)

Check creates a report if aNode is a test which has annotation.IsFlaky() call.

func (*IsFlaky) GetID

func (lr *IsFlaky) GetID() string

GetID returns is_flaky.

Source Files