Skip to content

Instantly share code, notes, and snippets.

@azamsharp
Created December 3, 2017 18:15
Show Gist options
  • Save azamsharp/0fc10a34f3606a2d43eec74bbfd53af3 to your computer and use it in GitHub Desktop.
Save azamsharp/0fc10a34f3606a2d43eec74bbfd53af3 to your computer and use it in GitHub Desktop.
Passing Launch Arguments
class When_User_Is_Registering_For_A_New_Account: XCTestCase {
private var app :XCUIApplication!
override func setUp() {
super.setUp()
continueAfterFailure = false
self.app = XCUIApplication()
self.app.launchArguments = ["UI-Testing"]
self.app.launch()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment