Created
March 4, 2016 10:34
-
-
Save danielmorrisdesign/05380c404ec9faf4720b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UITests: XCTestCase { | |
private var launched = false | |
let app = XCUIApplication() | |
override func setUp() { | |
super.setUp() | |
continueAfterFailure = false | |
launchIfNecessary() | |
} | |
private func launchIfNecessary() { | |
if !launched { | |
launched = true | |
app.launchEnvironment = [“animations”: “0”] | |
app.launch() | |
} | |
} | |
func testDetail() { ... } | |
func testPopover() { ... } | |
func testActionSheet() { ... } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment