Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandModel ¶
type CommandModel struct {
// ProjectFilePath - might be a `xcodeproj` or `xcworkspace`
ProjectFilePath string
// Scheme will be passed to xcodebuild as the -scheme flag's value
// Only passed to xcodebuild if not empty!
Scheme string
// SDK: if defined it'll be passed as the -sdk flag to xcodebuild.
// For more info about the possible values please see xcodebuild's docs about the -sdk flag.
// Only passed to xcodebuild if not empty!
SDK string
// DESTINATION: configure which device or Simulator will be used by the tool
// The supported platforms are:
// OS X, your Mac
// iOS, a connected iOS device
// iOS Simulator
// watchOS
// watchOS Simulator
// tvOS
// tvOS Simulator
Destination string
}
CommandModel ...
func (CommandModel) RunBuildForTesting ¶
func (xcuitestcmd CommandModel) RunBuildForTesting() (string, string, error)
RunBuildForTesting runs the build-for-testing xcode command.
func (CommandModel) RunXcodebuildCommand ¶
func (xcuitestcmd CommandModel) RunXcodebuildCommand(xcodebuildActionArgs ...string) (string, error)
RunXcodebuildCommand ...
func (CommandModel) ScanSchemes ¶
func (xcuitestcmd CommandModel) ScanSchemes() (schemes []xcscheme.Scheme, schemesWitUITests []xcscheme.Scheme, err error)
ScanSchemes scans the provided project or workspace for schemes. Returns the schemes of the provided project's or the provided workspace's + project's schemes, the names of the schemes, the schemes with UITest target and the schemes' which has UITest.
Click to show internal directories.
Click to hide internal directories.