Skip to content

Instantly share code, notes, and snippets.

Avatar

Juan Perata jperata

View GitHub Profile
@jperata
jperata / en-US.json
Created Sep 16, 2019
Flask Tidepooler Sample Interaction Model
View en-US.json
{
"interactionModel": {
"languageModel": {
"invocationName": "hello world",
"intents": [
{
"name": "AMAZON.FallbackIntent",
"samples": []
},
{
@jperata
jperata / GuessThePriceE2ETest
Created Jan 30, 2019
E2E test Example From GuessThePrice
View GuessThePriceE2ETest
---
configuration: # This is the configuration section, you can define your locale or the mocks here
locale: en-US
type: simulation
skillId: amzn1.ask.skill.612ef5f8-697a-43ab-ac3c-2523a0617b7b
stage: live
---
- test: Invoke skill, play once with two players and cancel.
- open guess the price: how many persons are playing today
@jperata
jperata / GuessThePriceCircleCI
Last active Jan 29, 2019
GuessThePrice CircleCI Test configuration
View GuessThePriceCircleCI
version: 2
jobs:
test:
docker:
- image: circleci/node:6
steps:
- checkout
- run: npm install
- run: sudo npm install -g ask-cli
- run: sudo npm install -g bespoken-tools
@jperata
jperata / GuessThePriceCircleCI
Created Jan 29, 2019
Circle CI Configuration for GuessThePrice
View GuessThePriceCircleCI
version: 2
jobs:
test:
docker:
- image: circleci/node:6
steps:
- checkout
- run: npm install
- run: sudo npm install -g ask-cli
- run: sudo npm install -g bespoken-tools
View GuessThePriceUnitTest
---
configuration: # This is the configuration section, you can define your locale or the mocks here
locale: en-US
---
- test: Launch request, play once with one player and stop. # Some metadata about this test sequence
- LaunchRequest: how many persons are playing today? # In the left part we have the utterance, in this case it's a reserved word
- one: please tell us your name # In the right part we have the expected result
- jordi: # If we want to test several items within the response we do it like this ...
- prompt: "let's start the game: jordi your product is Fitbit Charge 2 HR* Guess the price"
You can’t perform that action at this time.