Introduction to
XCUITest
Test Automation University
What’s XCUITest
•Xcode UI Testing framework by Apple
•XCUITest used to test native apps ( Swift, Objective-C)
•XCUITest can to used for cross platform apps
•WWDC Video: https://developer.apple.com/videos/play/wwdc2015/406/
What’s Swift
•Swift is programming languages launched by Apple in
2014
•Swift is modern, fast, type safe and easy to learn.
•Swift is used to write XCUITest for Apple platform
apps.
Why XCUITest?
•Native and Fast
•Same Tech Stack used for app development
•Collaboration with app developers
•Easy to integrate with CI/CD
•Improved Accessibility
XCUITest-Downside
•No Cross-platform
•Only used with Swift and Objective-C
XCTest Usage
•Unit Testing
•Integration and Network Testing
•Performance Testing
•User Interface Testing
Resources
•WWDC Testing videos: https://developer.apple.com/videos/all-videos/?
q=testing
•Apple Documentation: https://developer.apple.com/library/archive/
documentation/DeveloperTools/Conceptual/testing_with_xcode/chapters/09-ui_testing.html

XCUITest Introduction: Test Automation University