Skip to content

Instantly share code, notes, and snippets.

View jperata's full-sized avatar

Juan Perata jperata

  • Lima, Perú
View GitHub Profile
---
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"
@jperata
jperata / GuessThePriceCircleCI
Created January 29, 2019 21:05
Circle CI Configuration for GuessThePrice
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
Last active January 29, 2019 21:08
GuessThePrice CircleCI Test configuration
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 / GuessThePriceE2ETest
Created January 30, 2019 01:53
E2E test Example From GuessThePrice
---
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 / en-US.json
Created September 16, 2019 11:21
Flask Tidepooler Sample Interaction Model
{
"interactionModel": {
"languageModel": {
"invocationName": "hello world",
"intents": [
{
"name": "AMAZON.FallbackIntent",
"samples": []
},
{
TEST