Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Voice User Interface Projects

You're reading from   Voice User Interface Projects Build voice-enabled applications using Dialogflow for Google Home and Alexa Skills Kit for Amazon Echo

Arrow left icon
Product type Paperback
Published in Jul 2018
Publisher Packt
ISBN-13 9781788473354
Length 404 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Henry Lee Henry Lee
Author Profile Icon Henry Lee
Henry Lee
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Introduction 2. Building an FAQs Chatbot FREE CHAPTER 3. Building a Fortune Cookie Application 4. Hosting, Securing, and Testing Fortune Cookie in the Cloud 5. Deploying the Fortune Cookie App for Google Home 6. Building a Cooking Application Using Alexa 7. Using Advanced Alexa Features for the Cooking App 8. Migrating the Alexa Cooking Application to Google Home 9. Building a Voice-Enabled Podcast for the Car 10. Hosting and Enhancing the Android Auto Podcast 11. Other Books You May Enjoy

Creating end-to-end tests using the Dialogflow client SDK

In this section, you will learn how to use the Dialogflow client SDK (https://dialogflow.com/docs/sdks) to test the Fortune Cookie intents. Previously, you used two techniques to test your Dialogflow intents. First, you used the action simulator provided by Dialogflow. Then, you used Google Assistant from your phone. Writing Node.js code to create end-to-end tests using the Dialogflow client SDK is very useful for the following reasons:

  • Programmatically written tests can be repeated and automated.
  • It is faster to execute test code than manually performing mundane actions on a phone or the simulator.
  • You can test as you create your Dialogflow intents, which will help you detect errors in the early stages of your development.
  • If you make big changes to Dialogflow intents, your test will fail and will help you troubleshoot...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime