Documentation ¶
Overview ¶
Package rules provides methods to evaluate test name clustering rules.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Evaluator ¶
Evaluator evaluates a test name clustering rule on a test name, returning whether the rule matches and if so, the LIKE expression that defines the cluster.
func Compile ¶
func Compile(rule *configpb.TestNameClusteringRule) (Evaluator, error)
Compile produces a RuleEvaluator that can quickly evaluate whether a given test name matches the given test name clustering rule, and if so, return the test name LIKE expression that defines the cluster.
As Compiling rules is slow, the result should be cached.
Click to show internal directories.
Click to hide internal directories.