Protocol

XCTActivity

A named substep of a test method.

Topics

Adding Attachments

addAttachment:

Associates a file, image, or other attachment with the activity.

Required.

Activity Properties

name

A human-readable name for the activity.

Required.

Relationships

Inherits From

See Also

Activities

Grouping Tests into Substeps with Activities

Create named activities within test methods to simplify test reports.

XCTContext

A proxy for the current testing context.

Beta

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software