flakytestfinder

package
v0.0.0-...-fe632b3 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 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