All Projects → taimos → ask-sdk-test

taimos / ask-sdk-test

Licence: other
Alexa Skill Test Framework for Typescript and ASK2

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to ask-sdk-test

alexa-skill-test-framework
Framework for easy offline black-box testing of Alexa skills.
Stars: ✭ 64 (+190.91%)
Mutual labels:  alexa, test-framework, alexa-sdk
alexa-ruby
Ruby toolkit for Amazon Alexa service
Stars: ✭ 17 (-22.73%)
Mutual labels:  alexa, alexa-sdk
Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+12918.18%)
Mutual labels:  alexa, alexa-sdk
amazon-alexa-skill-library
DEPRECATED PHP Library for Amazon Alexa Skills
Stars: ✭ 13 (-40.91%)
Mutual labels:  alexa, alexa-sdk
HiveRunner
An Open Source unit test framework for Hive queries based on JUnit 4 and 5
Stars: ✭ 244 (+1009.09%)
Mutual labels:  test-framework
ask-toolkit-for-vscode
ASK Toolkit is an extension for Visual Studio Code (VSC) that that makes it easier for developers to develop and deploy Alexa Skills.
Stars: ✭ 90 (+309.09%)
Mutual labels:  alexa
myAWSStudyBlog
AWS Study Blog
Stars: ✭ 85 (+286.36%)
Mutual labels:  alexa
chatbot
Build Your First Chatbot
Stars: ✭ 25 (+13.64%)
Mutual labels:  alexa
kmtest
Kernel-mode C++ unit testing framework in BDD-style
Stars: ✭ 42 (+90.91%)
Mutual labels:  test-framework
evolutio
ab testing framework with automated code removing
Stars: ✭ 15 (-31.82%)
Mutual labels:  test-framework
skill-sample-nodejs-berry-bash
Demonstrates the use of interactive render template directives through multi modal screen design.
Stars: ✭ 22 (+0%)
Mutual labels:  alexa
portman
Port OpenAPI Specs to Postman Collections, inject test suite and run via Newman 👨🏽‍🚀
Stars: ✭ 530 (+2309.09%)
Mutual labels:  test-framework
xiaoai-patch
Patching for XiaoAi Speakers, add custom binaries and open source software. Tested on LX06, LX01, LX05, L09A
Stars: ✭ 58 (+163.64%)
Mutual labels:  alexa
NBi
NBi is a testing framework (add-on to NUnit) for Business Intelligence and Data Access. The main goal of this framework is to let users create tests with a declarative approach based on an Xml syntax. By the means of NBi, you don't need to develop C# or Java code to specify your tests! Either, you don't need Visual Studio or Eclipse to compile y…
Stars: ✭ 102 (+363.64%)
Mutual labels:  test-framework
exactly
Exactly - tests a command line program by executing it in a temporary sandbox directory and inspecting its result.
Stars: ✭ 30 (+36.36%)
Mutual labels:  test-framework
intent
Test framework for Dotty
Stars: ✭ 14 (-36.36%)
Mutual labels:  test-framework
core
The core of Japa. It includes all the primitives to build a test runner
Stars: ✭ 350 (+1490.91%)
Mutual labels:  test-framework
pry-test
A small test framework that supports debugging test failures & errors when they happen
Stars: ✭ 24 (+9.09%)
Mutual labels:  test-framework
webspicy
A technology agnostic specification and test framework that yields better coverage for less testing effort.
Stars: ✭ 42 (+90.91%)
Mutual labels:  test-framework
REST API Test Framework Python
REST API Test Framework example using Python requests and flask for both functional and performance tests.
Stars: ✭ 43 (+95.45%)
Mutual labels:  test-framework

Alexa Skill Test Framework

Build Status Build Status npm version

This framework makes it easy to create full-coverage black box tests for an Alexa skill using Mocha.

Here's an example of what a test might look like with the test framework.

import {AlexaTest, IntentRequestBuilder, LaunchRequestBuilder, SkillSettings} from 'ask-sdk-test';
import {handler as skillHandler} from './helloworld';

// initialize the testing framework
const skillSettings : SkillSettings = {
    appId: 'amzn1.ask.skill.00000000-0000-0000-0000-000000000000',
    userId: 'amzn1.ask.account.VOID',
    deviceId: 'amzn1.ask.device.VOID',
    locale: 'en-US',
};

const alexaTest = new AlexaTest(skillHandler, skillSettings);

describe('LaunchRequest', () => {
    alexaTest.test([
        {
            request: new LaunchRequestBuilder(skillSettings).build(),
            says: 'Welcome to the Alexa Skills Kit, you can say hello!',
            repromptsNothing: true,
            shouldEndSession: true,
        },
    ]);
});

If you are writing your Alexa Skills in Python, check out https://github.com/BananaNosh/py_ask_sdk_test

How To

Install the package as a dev dependency with npm install ask-sdk-test --save-dev.

Write tests in a Typescript file and run them with Mocha. For example, if your test is at 'test/skill.spec.ts', run mocha --require node_modules/ts-node/register/index.js test/skill.spec.ts.

For some simple examples, see the 'examples' directory.

History

This framework is based on the alexa-skill-test-framework by Brian MacIntosh and rewritten for Typescript and the ASK SDK v2.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].