Skip to content

Instantly share code, notes, and snippets.

@ig-perez
Created December 4, 2019 19:03
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 ig-perez/9ceb2e0e69b9cea332c9b0c8e921500e to your computer and use it in GitHub Desktop.
Save ig-perez/9ceb2e0e69b9cea332c9b0c8e921500e to your computer and use it in GitHub Desktop.
Bespoken Sample: This is how a simple end-to-end test looks like using our YAML-based syntax
---
configuration:
locale: en-US
voiceId: Joanna
---
- test: Launch request, no further interaction
- tags: NLUTest
- <speak>open <phoneme alphabet="ipa" ph="kwɪk lɪst">quick list</phoneme></speak>: "*"
---
- test.only: Launch request followed by a sequence of interactions
- open INVOCATION_NAME
- what is on my list:
- prompt:
- you have the following items on your list *
- here is your* list
- goodbye:
- prompt:
- talk to you soon
- bye bye happy shopping
- merry christmas to you soon
- /^$/ # This regex is equivalent to empty response or prompt = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment