Skip to content

Instantly share code, notes, and snippets.

@bespoken-cookbook
Last active December 23, 2019 15:33
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/86148cddda03b47ac09f4f29ff279c2a to your computer and use it in GitHub Desktop.
Save bespoken-cookbook/86148cddda03b47ac09f4f29ff279c2a to your computer and use it in GitHub Desktop.
# A simple example of Google Actions test suite
--- # Configuration YAML document
configuration:
locale: en-US
--- # The --- indicates the start of a new test, which is a self-contained YAML document
- test: "Works for one player" # Optional info about the test
# 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
- GetOnePlayer: tell us your name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment