Skip to content

Instantly share code, notes, and snippets.

@caiobzen
Created September 17, 2019 23:20
Show Gist options
  • Save caiobzen/7ec2097b2b907659549013b9dc36f1dc to your computer and use it in GitHub Desktop.
Save caiobzen/7ec2097b2b907659549013b9dc36f1dc to your computer and use it in GitHub Desktop.
Game Robot test sample
func test_when_scored_on_new_game_reset_score() {
robot
.swipeLeft()
.swipeRight()
.swipeUp()
.swipeDown()
.tapMenu()
.tapNewGame()
.assertScoreIs(0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment