On this year’s WWDC 15 Apple presented a new way of user interface testing within Xcode 7. With the new version of Xcode Apple introduces user interface testing as a brand new feature of the existing XCText framework. The great thing about the new ui testing approach is that it is an extension to the existing APIs and concepts in XCTest. Developers who are familiar with XCode’s testing features will have no problems to adopt ui testing in their daily working life.
If you want to see the new user interface testing in action you can either watch this general WWDC video: https://developer.apple.com/videos/wwdc/2015/?id=102 (the testing part starts at 1h:20min) or the more detailed one here: https://developer.apple.com/videos/wwdc/2015/?id=406.
If you want to try user interface testing, download the Xcode 7 beta version from here.
Besides the user interface testing, Apple also introduced code coverage within Xcode as well as correctness and performance. More information about the new features of Xcode 7 and the testing topics can be found on the Apple page.
If you are interested in all WWDC 2015 videos check this link.