Open dostrander opened 1 year ago
@dostrander internally we set the frameworks to write files to output-dir
for post-processing. I think by test_env.
Would this be a sufficient workaround?
@chenxiao0228 I've been doing that, but it doesn't seem to output any of the XCTAttachments
Any update on this? Would like to know if there's a work around for XCTAttachements / XCResult file output.
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.