Apple created the XCTAttachment in Xcode 9. This allows for attaching data to a test method execution, things like an image, file, data blob, etc...
Currently there is no way to gather these XCTAttachments from a test run. There are many scenarios where having attachments for post processing or debugging are useful. Specifically around snapshot tests and UI tests.
Apple created the XCTAttachment in Xcode 9. This allows for attaching data to a test method execution, things like an image, file, data blob, etc...
Currently there is no way to gather these
XCTAttachmentsfrom a test run. There are many scenarios where having attachments for post processing or debugging are useful. Specifically around snapshot tests and UI tests.