Book Image

Learning Android Application Testing

Book Image

Learning Android Application Testing

Overview of this book

Table of Contents (16 chapters)
Learning Android Application Testing
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Managing Your Android Testing Environment

Now that we have a complete understanding of the available Android testing SDK and have a nice range of testing recipes ready to assert and verify our app's behavior, it is time to provide different conditions to run our tests, explore other tests, or even use the application manually to understand what the end user experience would be.

In this chapter, we will cover:

  • Creating Android Virtual Devices (AVD) to provide different conditions and configurations for an application

  • Understanding the different configurations that we can specify while creating AVDs

  • How to run AVDs

  • How to create headless emulators

  • Unlocking the screen to be able to run all the tests

  • Simulating real-life network conditions

  • Speeding up your AVD with HAXM

  • Alternatives to the Android Virtual Device

  • Running monkey to generate events to send to the application