xctest3. BRIEFLY ABOUT XCTEST UI
• UI Automation framework by Apple
• Blackbox
• Swift 2.* / ObjectiveC
• iOS9 / Xcode 7 / OS X 10.11
3
4. FEATURES
• Designed by Apple for Apple
developers
• Test recording
• Test run reports
• Really simple syntax
• Fast test scenario development
4
7. GENERATED CODE
7
import XCTest
class ListerUITests: XCTestCase {
override func setUp() {
super.setUp()
continueAfterFailure = false
XCUIApplication().launch()
}
override func tearDown() {
super.tearDown()
}
func testExample() {
// Use recording to get started writing UI tests.
}
}
9. DISADVANTAGES
• Sometimes selector for element may be very complex
• No page object
• One trait testing
• No documentation
• Only latest iOS version
• Requires separate target
9