xcodeuitest

package
v0.0.0-...-f6d6d29 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2022 License: MIT Imports: 13 Imported by: 0

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.

Jump to

Keyboard shortcuts

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