impactedtests

package
v2.2.0-dev Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2025 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.

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