Skip to content

Instantly share code, notes, and snippets.

@bespoken-cookbook
Created December 23, 2019 15:32
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 bespoken-cookbook/fed6b808d012b1898a1f1b05e726a29f to your computer and use it in GitHub Desktop.
Save bespoken-cookbook/fed6b808d012b1898a1f1b05e726a29f to your computer and use it in GitHub Desktop.
--- # Configuration YAML document
configuration:
locale: en-US
--- # The --- indicates the start of a new test, which is a self-contained YAML document
- test: "Works on multiplayer" # Optional info about the test
- tags: FirstUse
# This test shows how to access any parameter for a unit test directly
- LaunchRequest:
- payload.google.richResponse.items[0].simpleResponse.textToSpeech == Welcome to guess the price
# For the simple Response thought just indicating the message right away works Since we have an internal alias
- GetANumber number=2: contestant one please tell us, what is your name
- GetContestantName playername=Juan: Contestant 2
- GetContestantName playername=Pedro: Juan * Guess the price
- 100 dollars: Juan, * Your score for that answer is * Guess the price
- GetANumber number=100: /.*you said 100*/i
- GetANumber number=100: Juan, * Your score for that answer is * Guess the price
- GetANumber number=100: Pedro, * Your score for that answer is * Guess the price
- GetANumber number=100: Juan, * Your score for that answer is * Guess the price
- GetANumber number=100: Game ended
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment