xcodebuild

package
v0.0.0-...-497f111 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TestRepetitionNone           = "none"
	TestRepetitionUntilFailure   = "until_failure"
	TestRepetitionRetryOnFailure = "retry_on_failure"
)

Test repetition modes ...

Variables

This section is empty.

Functions

This section is empty.

Types

type TestParams

type TestParams struct {
	ProjectPath                    string
	Scheme                         string
	Destination                    string
	TestPlan                       string
	TestOutputDir                  string
	TestRepetitionMode             string
	MaximumTestRepetitions         int
	RelaunchTestsForEachRepetition bool
	XCConfigContent                string
	PerformCleanAction             bool
	RetryTestsOnFailure            bool
	AdditionalOptions              []string
}

TestParams ...

type TestRunParams

type TestRunParams struct {
	TestParams                         TestParams
	LogFormatterOptions                []string
	RetryOnTestRunnerError             bool
	RetryOnSwiftPackageResolutionError bool
	SwiftPackagesPath                  string
}

TestRunParams ...

type Xcodebuild

type Xcodebuild interface {
	RunTest(params TestRunParams) (string, int, error)
	GetXcodeCommadRunner() xcodecommand.Runner
	SetXcodeCommandRunner(runner xcodecommand.Runner)
}

Xcodebuild ....

func NewXcodebuild

func NewXcodebuild(logger log.Logger, fileManager fileutil.FileManager, xcconfigWriter xcconfig.Writer, xcodeCommandRunner xcodecommand.Runner) Xcodebuild

NewXcodebuild ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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