O'Reilly logo

Android Application Testing Guide by Diego Torres Milano

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Testing on host's JVM

We left this subject for the end of this chapter as it seems this is the Holy Grail of the Android platform.

You know that Android is based on a virtual machine named Dalvik, after a village in Iceland, optimized for mobile resources with limited capabilities such as constrained amount of memory and processor speed. Certainly a very different environment than our development host computer, which may have plenty of memory and processor speed to enjoy.

Ordinarily, we run our applications and tests on an emulator or device. These targets have a much slower real or emulated CPU and thus running our tests is a time consuming activity mainly when our project starts to grow, and applying Test Driven Development techniques compels ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required