Software testing considerations for voice-first applications
|Do Nguyen in Application Testing Saturday, December 2, 2017|
How voice-first designed apps for devices like the Echo and Google Home can be tested for security and application flaws.
A voice-first device is a smart device specifically designed to get tasks done conversationally. They're always-on and always-listening. Businesses must be thinking about how they can leverage this new channel to provide better service for their customers. In the same vein, developers and designers are thinking about how they can design and deliver the best voice experience. And unfortunately, we know that hackers are already able to break into these types of devices. Security specialists need to think about securing data and network access in the event of a hack attack.
There is a specific set of challenges in executing software testing for voice-based apps like Alexa skill or Google Home actions where software testers find bugs before the customers do. Testers automate testing processes so updates can release faster and with higher quality. To keep up, we need to adapt processes to the new technology.
An effective and thorough test strategy starts with a good understanding about the underlying architecture of the system under test. The tester needs to understand the command details from the moment the user starts asking. For instance, the voice first device is asked to do something until the task is complete. In this case, the user gives a command by saying the wake-word "Alexa" and follows it with command details. The device sends the voice stream to Alexa and its does a couple things, using speech-to-text technology to translate the voice stream to text and identifies the skill name and maps the user's spoken inputs to the skill's intents and slots.
It's important to note that there are many different types of testing - unit, system, integration, performance, endurance- they all carry over to voice, but there are challenges, such as standard testing is text-based.
The Automated Voice Testing (AVT) approach use a speech recognition engine to automatically control the device conversationally as a human user would. This approach is device-agnostic and platform-agnostic because the automation of the tests is at the voice level. The automated tests can be executed against any kind of voice app, running on any device.
Some use cases where AVT can be applied include Alexa app testing (Amazon Echo device) and Google Home apps testing (Google Home device), as well as voice-enabled web sites and web apps, virtual assistant testing: Siri, Cortana, OK Google on Android, and automated communication: call center, voicemail, etc.
Voice-first devices have gone mainstream and are providing a new way for businesses and brands to better engage with their customers by delivering a fast, easy, and familiar voice experience. Testing the software that powers the innovation is up to the task, helping users feel more confident about their experience with this burgeoning technology.
Love Is Like Pi Never Ending T-Shirt Math Pi day Gift Shirt. Perfect Shirt to celebrate Pi Day 2019. Great gift whether you just love Math or you are a Math Student, Teacher or similar.
Are you paying more taxes than you have to as a developer or freelancer? The IRS is certainly not going to tell you about a deduction you failed to take, and your accountant is not likely to take the time to ask you about every deduction you’re entitled to. As former IRS Commissioner Mark Everson admitted, “If you don’t claim it, you don’t get it.
Get hands-on experience in performing simple to complex mobile forensics techniques Retrieve and analyze data stored not only on mobile devices but also through the cloud and other connected mediums A practical guide to leveraging the power of mobile forensics on popular mobile platforms with lots of tips, tricks, and caveats.
The Chirp GPS app is a top-ranked location sharing app available for Apple and Android that is super easy to use, and most of all, it's reliable.
Write and run code every step of the way, using Android Studio to create apps that integrate with other apps, download and display pictures from the web, play sounds, and more. Each chapter and app has been designed and tested to provide the knowledge and experience you need to get started in Android development.
This content is made possible by a guest author, or sponsor; it is not written by and does not necessarily reflect the views of App Developer Magazine's editorial staff.