Book Image

Testing and securing android studio applications

Book Image

Testing and securing android studio applications

Overview of this book

Table of Contents (18 chapters)
Testing and Securing Android Studio Applications
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 8. Testing Your Application

You have learned how to create secure applications. Now, you want to ensure the quality of your Android application. What elements can be tested in Android? How test cases are developed? Does Android Studio support testing?

This chapter introduces the ways of testing an application in Android. In Android, we can design tests to evaluate the user interface (UI), activities, services, and content providers. In this chapter, we will learn about UI testing.

The topics that will be covered in the chapter are as follows:

  • Testing in Android

  • The uiautomator API

  • The uiautomatorviewer tool

  • The UI test project

  • Running UI test cases