XCTest
Executes XCTest tests. Test are always run in a single execution.
Since
4.5
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Constructor arguments for the Task
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
Registers a test listener with this task.
Link copied to clipboard
Registers a metadata listener with this task.
Link copied to clipboard
Registers a output listener with this task.
Link copied to clipboard
Adds a closure to be notified after a test suite has executed.
Link copied to clipboard
Link copied to clipboard
Adds a closure to be notified before a test suite is executed.
Link copied to clipboard
Adds a closure to be notified before a test is executed.
Link copied to clipboard
Link copied to clipboard
Adds the given closure to the beginning of this task's action list.
Adds the given Action to the beginning of this task's action list.
Link copied to clipboard
Adds the given closure to the end of this task's action list.
Adds the given Action to the end of this task's action list.
Link copied to clipboard
Do not track the state of the task.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Adds the given finalizer tasks for this task.
Link copied to clipboard
Returns the sequence of Action objects which will be executed by this task, in the order of execution.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the root directory property for the test results in internal binary format.
Link copied to clipboard
Returns the dependencies of this task.
Link copied to clipboard
Returns the destroyables of this task.
Link copied to clipboard
Checks if the task actually did any work.
Link copied to clipboard
The container of extensions.
Link copied to clipboard
Whether the task should fail if test sources are present, but no tests are discovered during test execution.
Link copied to clipboard
Allows filtering tests for execution.
Link copied to clipboard
Returns tasks that finalize this task.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the local state of this task.
Link copied to clipboard
Returns the org.gradle.api.logging.LoggingManager which can be used to receive logging and to control the standard output/error capture for this task.
Link copied to clipboard
Returns tasks that this task must run after.
Link copied to clipboard
Returns the outputs of this task.
Link copied to clipboard
Returns the Project which this task belongs to.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A ReportContainer instance.
Link copied to clipboard
Link copied to clipboard
Returns test suite bundle or executable location
Link copied to clipboard
Link copied to clipboard
Returns tasks that this task should run after.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns a TaskDependency which contains all the tasks that this task depends on.
Link copied to clipboard
Link copied to clipboard
Returns a directory which this task can use to write temporary files to.
Link copied to clipboard
Link copied to clipboard
Sets the test suite bundle or executable location
Link copied to clipboard
Returns the working directory property for this test.
Link copied to clipboard
Determines if this task has the given property.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Specifies that this task must run after all of the supplied tasks.
Link copied to clipboard
Specifies that this task is not compatible with the configuration cache.
Link copied to clipboard
Execute the task only if the given closure returns true.
Execute the task only if the given spec is satisfied.
Link copied to clipboard
Link copied to clipboard
Unregisters a test listener with this task.
Link copied to clipboard
Unregisters a test metadata listener with this task.
Link copied to clipboard
Unregisters a test output listener with this task.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Sets the sequence of Action objects which will be executed by this task.
Link copied to clipboard
Sets the dependencies of this task.
Link copied to clipboard
Sets whether the task actually did any work.
Link copied to clipboard
Specifies the set of finalizer tasks for this task.
Link copied to clipboard
Specifies the set of tasks that this task must run after.
Link copied to clipboard
Execute the task only if the given closure returns true.
Execute the task only if the given spec is satisfied.
Link copied to clipboard
Sets a property of this task.
Link copied to clipboard
Specifies the set of tasks that this task should run after.
Link copied to clipboard
Sets the test name patterns to be included in execution.
Link copied to clipboard
Specifies that this task should run after all of the supplied tasks.
Link copied to clipboard
Allows configuring the logging of the test execution, for example log eagerly the standard output, etc.
Link copied to clipboard
Registers a BuildService that is used by this task so its constraint on parallel execution can be honored.