XCTest
-
XCTestCase
subclass which creates and storeXCUIApplication
object for duration of the test.Example:
class AdditionalExtensionsTests: AppUITestCase { override func setUp() { super.setUp() TestLauncher.configure(app).launch() } }
Remark
Every call toXCUIApplication
creates new instance of this object. This is why theXCUIApplication
object is created at the beginning of the test and stored in theapp
variable.Declaration
Swift
open class AppUITestCase : XCTestCase
-
Declaration
Swift
class XCTestCase : XCTest
-
Declaration
Swift
class XCUIApplication : XCUIElement
-
Declaration
Swift
class XCUIElement : NSObject, XCUIElementAttributes, XCUIElementTypeQueryProvider
-
Declaration
Swift
class XCUIElementQuery : NSObject, XCUIElementTypeQueryProvider
-
Declaration
Swift
protocol XCUIElementTypeQueryProvider