@Mojo(name="xcode-test",
defaultPhase=TEST)
public class XcodeTestMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
boolean |
ignoreFailures
Specifies whether or not to ignore test failures.
|
ProcessRunner |
processRunner |
boolean |
skipTests
Specifies whether or not to skip tests.
|
String |
targetDirectory |
List<String> |
testSimulators |
String |
xcodebuild
The location of the xcodebuild executable.
|
String |
xcodeProject
The path to your xcodeproj file.
|
String |
xcodeScheme
The name of the scheme to build.
|
| Constructor and Description |
|---|
XcodeTestMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(alias="xcodebuildPath",
property="xcodebuild.path",
defaultValue="/usr/bin/xcodebuild",
required=true)
public String xcodebuild
@Parameter(alias="project",
property="xcode.project.path",
defaultValue="${basedir}/${project.artifactId}.xcodeproj",
required=true)
public String xcodeProject
@Parameter(alias="xcodeProjectScheme",
property="xcode.project.scheme.name",
defaultValue="${project.artifactId}",
required=true)
public String xcodeScheme
@Parameter(property="project.build.directory",
readonly=true,
required=true)
public String targetDirectory
@Parameter(alias="skipTests",
property="skipTests",
defaultValue="false",
required=true)
public boolean skipTests
@Parameter(alias="ignoreTestFailures",
property="xcode.ignore.test.failures",
defaultValue="false",
required=true)
public boolean ignoreFailures
public ProcessRunner processRunner
Copyright © 2015. All rights reserved.