Contents

XCTAttachment

Data from a test method’s execution, such as a file, image, screenshot, data blob, or ZIP file.

Declaration

class XCTAttachment

Mentioned in

Topics

Creating Attachments from Data

Creating Attachments from Files and Folders

Creating Attachments from Images and Screenshots

Creating Attachments from Objects

Creating Attachments from Strings

Setting an Attachment’s Lifetime

Attachment Metadata

Initializers

Default Implementations

See Also

Attachments