Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
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
Learning Android Application Testing

You're reading from   Learning Android Application Testing Improve your Android applications through intensive testing and debugging

Arrow left icon
Product type Paperback
Published in Mar 2015
Publisher
ISBN-13 9781784395339
Length 274 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with Testing FREE CHAPTER 2. Understanding Testing with the Android SDK 3. Baking with Testing Recipes 4. Managing Your Android Testing Environment 5. Discovering Continuous Integration 6. Practicing Test-driven Development 7. Behavior-driven Development 8. Testing and Profiling Performance 9. Alternative Testing Tactics Index

Creating Android Virtual Devices


To have the best chance of detecting problems related to the device on which the application is running, you need the widest possible coverage of device features and configurations.

While final and conclusive tests should always be run on real devices, with the ever-increasing number of devices and form factors, it is virtually impossible that you will have one device of each to test your application. There are also device farms in the cloud to test on a variety of devices (Google for cloud device testing), but sometimes, their cost is above the average developer budget. Android provides a way of emulating, more or less verbatim, a great variety of features and configuration just for the convenience of different AVD configurations (an emulator).

Note

All the examples in this chapter are run from OSX 10.9.4 (Mavericks) 32 bit using Android SDK Tools 23.0.5 with platform 4.4.2 (API 20) installed.

To create an AVD, you can use the android avd command from a terminal...

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
Banner background image