Documentation ¶
Overview ¶
Package pit ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Failure ¶
type Package ¶
type Package struct { Name string Dir string ImportPath string SourceFiles []string TestFiles []string // contains filtered or unexported fields }
func FindPackages ¶
FindPackages returns a slice of Packages found in the passed directory.
func (*Package) Repository ¶
func (p *Package) Repository() (*git.Repository, error)
Repository returns the git repository for the package
func (*Package) RunTests ¶
func (p *Package) RunTests(config *TestConfig) (*PackageTestResult, error)
RunTests runs the packages test suite, checking if the package has tests and whether any files have been changed
type PackageTest ¶
type PackageTestResult ¶
type TestConfig ¶
TestConfig defines how a packages tests will be run
Directories ¶
Path | Synopsis |
---|---|
cmd
|
|
internals
|
|
testparser
Package testparser provides a parser for go test output
|
Package testparser provides a parser for go test output |
Click to show internal directories.
Click to hide internal directories.