Skip to content

Instantly share code, notes, and snippets.

@chrisleversuch
Created March 26, 2018 13:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisleversuch/49d63e5f4c0c14d2e1f2fce4b3094b4b to your computer and use it in GitHub Desktop.
Save chrisleversuch/49d63e5f4c0c14d2e1f2fce4b3094b4b to your computer and use it in GitHub Desktop.
Pointers for UI testing in swift
override func setUp() {
super.setUp()
continueAfterFailure = false
let app = XCUIApplication()
app.launchArguments = ["UITestingEnabled"]
app.launchEnvironment["launchViewController"] = "basket"
app.launch()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment