flakytestfinder

package
v0.0.0-...-edfa39e Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

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