Semi-Automated Testing

Semi-automated testing of an Alexa skill involves automatically sending a request to your skill, but still manually verifying the response. This style of testing is most useful when debugging, especially if the debugging session requires repeating the same flow of intents multiple times.

We’re going to look at three options for semi-automated testing of Alexa skills, using the ASK CLI and TestFlow. First up, let’s see how to use the ASK CLI to test a skill.

Testing with the ASK CLI

We’ve already used the ASK CLI to bootstrap our Alexa skill project and to deploy it. But the ASK CLI has many more tricks up its sleeves, including the dialog subcommand which opens a shell within which you can interact with the skill by typing ...

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.