iOS UI Unit Testing (XCode7)
问题 I'm a bit confused with the new UI Unit Testing scheme that apple released in their XCode7 Beta. I think it's an awesome idea, but I have a couple questions. this is one testing method I have... func testMetricsProperties() { // Used some of the metrics for testing for reference let app = XCUIApplication() app.scrollViews.descendantsMatchingType(.Unknown).containingType(.StaticText, identifier:"rim").childrenMatchingType(.Button).element.tap() app.textFields["_XCUI:Secure"].typeText("") app