rules

package
v0.0.0-...-1a56975 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

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.

Jump to

Keyboard shortcuts

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