Testing
If everything was correctly deployed, we can test the skill. On the dashboard of the skill, there is a tab named Test. Clicking on it will navigate us to the testing screen. Note that the testing is disabled by default. The toggle has been switched to enable testing for the skill. There are various options to test the skill. The developer console provides a nifty way of simulating the Alexa companion hardware devices. It is called Alexa Simulator. Other options supply the JSON manually, which requires in-depth knowledge of the payload that is passed to the Alexa backend from the hardware. The following screenshot shows the details for an invocation. One needs to hold down the microphone button and utter the sample invocations.
The ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access