Created
August 15, 2020 17:05
-
-
Save cipolleschi/f9fb94e91a54315d98973c5da3be06fe to your computer and use it in GitHub Desktop.
This file contains 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
func testPurchasingCoins_success() { | |
self.app.launchArguments.append(contentsOf: [ | |
"-mockPurchase", "true" | |
]) | |
self.app.launch() | |
// ... assert what should happen ... | |
} | |
func testPurchasingCoins_failure() { | |
self.app.launchArguments.append(contentsOf: [ | |
"-mockPurchase", "false" | |
]) | |
self.app.launch() | |
// ... assert what should happen ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment