Skip to content

Instantly share code, notes, and snippets.

View bespoken-cookbook's full-sized avatar

Bespoken-Cookbook bespoken-cookbook

View GitHub Profile
{
"type":"e2e",
"findReplace":{
"INVOCATION_NAME":"guess the price",
"INVOCATION_NAME_DEV":"guess the price development"
},
"homophones":{
"is":[
"as",
"does",
---
configuration:
locale: en-US
voiceId: Matthew
---
- test: Launch request, no further interaction
- tags: NLUTest
- <speak>talk to <phoneme alphabet="ipa" ph="gɛs ðə praɪs">guess the price</phoneme></speak>: welcome
{
"dialogFlowDirectory": "./DialogFlow/GuessThePrice",
"expressModule": "index.js",
"expressPort": 3000,
"platform": "google",
"silent": true,
"trace": false,
"include": ["FirstUse"],
"exclude": ["broken"]
}
--- # 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
# 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: