Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReportFlakyTests

func ReportFlakyTests(args []string) ([]string, error)

ReportFlakyTests reports names of tests that have annotation.IsFlaky() call.

Types

type RulesMatcher

type RulesMatcher struct {
}

RulesMatcher filters out test files and detects test type.

func (*RulesMatcher) GetRules

func (rf *RulesMatcher) GetRules(absp string, info os.FileInfo) []checker.Rule

GetRules checks path absp and decides whether absp is a test file. It returns true and rules to parse the file. Path absp is valid path to a test file if its suffix is _test.go.

Directories

Path Synopsis
rules