I am currently working on a project implementing an Alexa Skill with Alexa Skills Kit SDK for NodeJS, using the Progressive Response API and the AudioPlayer API. I was looking for a test framework supporting both of these APIs. I also wanted this framework to be able to simulate an entire conversation with the skill, and I wanted those tests automated to detect when I have regressions.

Image for post
Image for post
Photo by Piotr Cichosz on Unsplash

Comparing existing solutions

I first looked at Amazon’s Alexa Simulator. This is the recommended solution by Amazon for testing a skill. The problem is that the Simulator seems to focus on the integration with Alexa displays (Echo Spot, Echo Show). It also wasn’t supporting the AudioPlayer API when I tried it. The other solution proposed by Amazon is simply to test manually i.e. vocally on a device: this obviously didn’t fit my intention as I wanted to automate all those tests. …

About

Benoit Zhong

Software Engineer, Voice Assistants @ Mozilla. Student @ INSA Lyon/Chalmers - https://zhong.fr

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store