O'Reilly logo

Learning Android Application Testing by Paul Blundell, 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

Introducing Robotium

One component of the vast emerging robotic fauna is Robotium (http://robotium.org), a test framework created to simplify the writing of tests, requiring minimal knowledge of the application under test. Robotium is mainly oriented to writing powerful and robust automatic black-box test cases for Android applications. It can cover function, system, and acceptance test scenarios, even spanning multiple Android activities of the same application automatically. Robotium can also be used to test applications that we don't have the source code for, or even pre-installed applications.

Let's put Robotium to work creating some new tests for TemperatureConverter. To keep our tests organized, we create a new package named com.blundell.tut.robotium ...

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