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
public extension XCTestCase
-
Declaration
Swift
public extension XCUIApplication
-
Declaration
Swift
extension XCUIElement
-
Declaration
Swift
public extension XCUIElementQuery
-
Declaration
Swift
extension XCUIElementTypeQueryProvider where Self: DescendantsMatching