Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImpactedTestAnalyzer ¶
type ImpactedTestAnalyzer struct {
// contains filtered or unexported fields
}
ImpactedTestAnalyzer is a struct that holds information about impacted tests. It caches prepared diff data and impacted decisions, so analyzers should be used by pointer and must not be copied after first use.
func NewImpactedTestAnalyzer ¶
func NewImpactedTestAnalyzer() (*ImpactedTestAnalyzer, error)
NewImpactedTestAnalyzer creates a new instance of ImpactedTestAnalyzer.
func (*ImpactedTestAnalyzer) IsImpacted ¶
func (a *ImpactedTestAnalyzer) IsImpacted(testName string, sourceFile string, startLine int, endLine int) bool
IsImpacted checks if a test is impacted based on the modified files and their line ranges.
Click to show internal directories.
Click to hide internal directories.