Reputation: 907
I am running xcode7 ui tests via jenkins, and would like to have a screenshot of the failures.
I know how to do it via xcode itself:
The question is how to do it when tests are ran via xcodebuild
xcodebuild -workspace bla.xcworkspace test
Upvotes: 0
Views: 386
Reputation: 907
defining the -derivedDataPath
flag on xcodebuild
will save all the test data. the screenshots specifically, can be found under Logs/Test/Attachments/
in wherever you save the derivedData
Upvotes: 1