0
수입 XCTest, 스위프트 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 클래스를 가지고있다. 이제는 Xcode 8의 UIAutomation을 사용하여 각 클래스를 테스트하고 싶습니다. 검색을 많이 한 후에 Xcode 또는 swift의 최신 버전에서 유용한 자습서 나 도구를 얻지 못했습니다. 내 응용 프로그램의 첫 번째 화면은 로그인 화면입니다. 누군가가 나를 도울 수 있습니까 UIAutomation는 엑스 코드 (8)가 사용됩니다 믿는 유용한 솔루션