Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to test Alexa Skills with Mocha or other Framework and alexa-app #253

Open
natterstefan opened this issue Jun 27, 2017 · 2 comments
Open

Comments

@natterstefan
Copy link

natterstefan commented Jun 27, 2017

Hello,

I really like the alexa-app and alexa-app-server environment and tools. They enable me to create Alexa-Skills easily. But what I am not sure of (didn't find something on the Internet so far or must have missed it) how I can test the Skill-Intents with eg. Mocha and Chai? How can I for example, test multiple slot-values (eg wrong, valid or empty) against one/multiple Intents?

I am thinking about something like this example: Alexa Skill Test Framework from BrianMacIntosh. Or how do you test your alexa-app skills?

Thank you for your help guys.

Edit: I have looked at existing tests like this one test_alexa_app_intent_request.js but this test does not use the actual developed skill (example), does it? So to say: they do not test against a developed skill, just against some mock data?

@dblock
Copy link
Collaborator

dblock commented Jun 27, 2017

Check out https://github.com/artsy/elderfield/tree/master/test for an example. I'll leave this open, maybe someone can contribute a README section on testing?

@natterstefan
Copy link
Author

@dblock Looks interesting, thanks for sharing it. I will take a look at it and try to come up with an idea for a README, as I need one for my project too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants