XCTest
-
XCTestCasesubclass which creates and storeXCUIApplicationobject for duration of the test.Example:
class AdditionalExtensionsTests: AppUITestCase { override func setUp() { super.setUp() TestLauncher.configure(app).launch() } }See moreRemark
Every call toXCUIApplicationcreates new instance of this object. This is why theXCUIApplicationobject is created at the beginning of the test and stored in theappvariable.Declaration
Swift
open class AppUITestCase : XCTestCase
-
Declaration
Swift
public extension XCTestCase
-
Declaration
Swift
public extension XCUIApplication
-
Declaration
Swift
extension XCUIElement
-
Declaration
Swift
public extension XCUIElementQuery
-
Declaration
Swift
extension XCUIElementTypeQueryProvider where Self: DescendantsMatching
XCTest Reference