6 Replies
      Latest reply on Apr 18, 2016 3:32 AM by seligc
      our_guest Level 1 Level 1 (0 points)

        Has anyone integrated Xcode 7's UI Testing features with their Jenkins CI system? What have your experiences been?

         

        The setup itself is not too challenging, but the results haven't been great so far. Aside from the debilitating bug introduced in 7.2, a lot of UI Tests seem to spontaneously break intermittently from mysterious UI issues. That's less bad when running the tests directly from Xcode itself, where you can conveniently review the results afterwards thanks to the screenshots and XCTest logs. However, if you run the tests via xcodebuild as a Jenkins script, at most the results yield you a line containing the step where the tests fail (though I've also been piping the XCTest log into a logfile). It's definitely less helpful than Xcode, even though it seems like xcodebuild is still saving the screenshots somewhere, albeit in a disconnected manner.