Versions in this module Expand all Collapse all v0 v0.1.0 Mar 25, 2026 Changes in this version + func FindFiles(root, fileName string, ignoreDirs []string) ([]string, error) + func HasTestFailures(results []ProjectTestResult) bool + func PrintTestSummary(results []ProjectTestResult, totalTime time.Duration) + func RunPackageTests(runner *PackageTestRunner, verbose, debug bool, runShellScript bool, ...) error + type Options struct + Count int + CoverMode string + FailFast bool + IgnoreDirs []string + Parallel bool + SkipVet bool + TestPattern string + Verbose bool + func DefaultOptions() *Options + type PackageTestRunner struct + Dir string + Name string + Options *Options + Setup func() error + Teardown func() error + func DefaultPackageRunner() *PackageTestRunner + type ProjectRunnerConfig struct + Coverage bool + CoverageMode string + Debug bool + IgnoreDirs []string + Packages []string + Parallel bool + ProjectName string + RootDir string + RunShellScripts bool + TestPattern string + UseLegacyScripts bool + Verbose bool + func DefaultProjectConfig(projectName string) *ProjectRunnerConfig + type ProjectTestResult struct + Error error + Package string + Success bool + Time time.Duration + func RunProjectTests(config *ProjectRunnerConfig) ([]ProjectTestResult, error) + type TestResult struct + Error error + Output string + Package string + Success bool + Time time.Duration + type TestRunner struct + Options *Options + TestResults []TestResult + VetResults []TestResult + func NewTestRunner(options *Options) *TestRunner + func (r *TestRunner) FindGoDirectories(rootDir string) ([]string, error) + func (r *TestRunner) FindTestPackages(rootDir string) ([]string, error) + func (r *TestRunner) GetOptions() *Options + func (r *TestRunner) HasFailures() bool + func (r *TestRunner) PrintSummary(totalTime time.Duration) + func (r *TestRunner) RunAll(rootDir string) error + func (r *TestRunner) RunTestPackages(packages []string) (bool, error) + func (r *TestRunner) RunTests(dirs []string) error + func (r *TestRunner) RunVet(dirs []string) error + type TestRunnerIfc interface + FindGoDirectories func(rootDir string) ([]string, error) + FindTestPackages func(rootDir string) ([]string, error) + GetOptions func() *Options + HasFailures func() bool + PrintSummary func(totalTime time.Duration) + RunAll func(rootDir string) error + RunTestPackages func(packages []string) (bool, error) + RunTests func(dirs []string) error + RunVet func(dirs []string) error