Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delta ¶
type Delta struct { ModifiedPackages []string NewSuites []*Suite RemovedSuites []*Suite // contains filtered or unexported fields }
func (Delta) ModifiedSuites ¶
type DeltaTracker ¶
type DeltaTracker struct {
// contains filtered or unexported fields
}
func NewDeltaTracker ¶
func NewDeltaTracker(maxDepth int, watchRegExp *regexp.Regexp) *DeltaTracker
func (*DeltaTracker) Delta ¶
func (d *DeltaTracker) Delta(suites []testsuite.TestSuite) (delta Delta, errors SuiteErrors)
type Dependencies ¶
type Dependencies struct {
// contains filtered or unexported fields
}
func NewDependencies ¶
func NewDependencies(path string, maxDepth int) (Dependencies, error)
func (Dependencies) Dependencies ¶
func (d Dependencies) Dependencies() map[string]int
type DescendingByDelta ¶
type DescendingByDelta []*Suite
func (DescendingByDelta) Len ¶
func (a DescendingByDelta) Len() int
func (DescendingByDelta) Less ¶
func (a DescendingByDelta) Less(i, j int) bool
func (DescendingByDelta) Swap ¶
func (a DescendingByDelta) Swap(i, j int)
type PackageHash ¶
type PackageHash struct { CodeModifiedTime time.Time TestModifiedTime time.Time Deleted bool // contains filtered or unexported fields }
func NewPackageHash ¶
func NewPackageHash(path string, watchRegExp *regexp.Regexp) *PackageHash
func (*PackageHash) CheckForChanges ¶
func (p *PackageHash) CheckForChanges() bool
type PackageHashes ¶
type PackageHashes struct { PackageHashes map[string]*PackageHash // contains filtered or unexported fields }
func NewPackageHashes ¶
func NewPackageHashes(watchRegExp *regexp.Regexp) *PackageHashes
func (*PackageHashes) Add ¶
func (p *PackageHashes) Add(path string) *PackageHash
func (*PackageHashes) CheckForChanges ¶
func (p *PackageHashes) CheckForChanges() []string
func (*PackageHashes) Get ¶
func (p *PackageHashes) Get(path string) *PackageHash
func (*PackageHashes) StartTrackingUsage ¶
func (p *PackageHashes) StartTrackingUsage()
func (*PackageHashes) StopTrackingUsageAndPrune ¶
func (p *PackageHashes) StopTrackingUsageAndPrune()
type Suite ¶
type Suite struct { Suite testsuite.TestSuite RunTime time.Time Dependencies Dependencies // contains filtered or unexported fields }
func (*Suite) Description ¶
func (*Suite) MarkAsRunAndRecomputedDependencies ¶
type SuiteErrors ¶
Click to show internal directories.
Click to hide internal directories.