Automated Testing with Alexa Skill Test Framework
The Alexa Skill Test Framework is a JavaScript framework for writing automated tests against Alexa skills. Unlike the semi-automated testing tools described in the previous section, the Alexa Skill Test Framework is able to verify the response from a skill. But like TestFlow, the Alexa Skill Test Framework is able to test a skill without requiring that the skill be deployed first. Consequently, you will get a quick turnaround on feedback from the test during development.
The Alexa Skill Test Framework is based on the Mocha testing tool, so before you start writing tests, you’ll need to install the Mocha command line tool (assuming that you have not already done so for some other JavaScript project): ...
Get Build Talking Apps for Alexa now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.