impactedtests

package
v2.10.0-dev Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0, BSD-3-Clause, Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

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