0
進口XCTest我怎樣才能在Xcode 8使用UIAutomation,斯威夫特3
類UnitTestClass:XCTestCase {
override func setUp() {
super.setUp()
// Put setup code here. This method is called before the invocation of each test method in the class.
}
override func tearDown() {
// Put teardown code here. This method is called after the invocation of each test method in the class.
super.tearDown()
}
func testExample() {
}
我在我的應用程序多的UIViewController類。現在,我想通過UIAutomation在Xcode 8,Swift 3中測試每個類。搜索了很多後,我沒有在Xcode或swift的最新版本中獲得任何有用的教程或工具。我的應用程序的第一個屏幕是登錄屏幕。誰能幫我找到時的有用的解決方案