Created
December 23, 2019 15:32
-
-
Save bespoken-cookbook/fed6b808d012b1898a1f1b05e726a29f 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
--- # 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