Will Verduzco · May 25, 2013 at 11:30 am

Auto Test Your Android Apps with Robotium

You’ve just finished coding your very first app, but before you release it to the wild, you need to do one very critical step: testing. Most Java developers out there have heard of Selenium.

No, I’m not talking about the metalloid 34Se. I’m talking about the Java-based automated application tester. Luckily for Android developers, there’s a similar tool called Robotium. According to the Robotium project page:

Robotium is an Android test automation framework that has full support for native and hybrid applications. Robotium makes it easy to write powerful and robust automatic black-box test cases. With the support of Robotium, test case developers can write function, system and acceptance test scenarios, spanning multiple Android activities.

Thankfully, XDA Senior Member EatHeat has written a guide to help new developers perform automated testing on their applications using this tool. Currently the guide covers installation and use of Robotium to test your applications, given that you have the source code at your disposal. However, don’t worry too much if you don’t. EatHeat is also planning on extending his guide to cover Robotium’s ability to test apps even when source is unavailable. That’s right, all you need is the APK!

Please keep in mind that you should still actually test your application manually before launching it to the wild. In fact, we even have resources in our new App Development forums to help with that! But for those who want to do a little additional testing, Robotium may be just what you’re looking for.

To get started, first head over to the Robotium project page on Google Code. Once you’ve downloaded the required files, head over to the original thread for EatHeat’s guide.


_________
Want something on the XDA Portal? Send us a tip!
GermainZ · Mar 4, 2015 at 07:09 pm · no comments

A Look at the Telegram+ Situation

Most of this article doesn't only apply to Telegram+ -- it just happens to be an example that got a lot of coverage elsewhere, with many authors or commentators putting the full blame on Google, Telegram, the Telegram+ developer or even WhatsApp Inc (eh?). In this article, we'll try to look at the different aspects to provide a clear view of what actually happened, and what can (and hopefully will) improve with regards to developers in general and the Play...

XDA NEWS
Aamir Siddiqui · Mar 4, 2015 at 12:11 pm · 2 comments

Multi Boot: The Fall of Nandroid?

Ever since custom recoveries and roms became popular, nandroid backups have been the fall back method for all android enthusiasts, irrespective of their confidence levels. They allow easy backup and restore in case things go wrong, which happens invariably when a modification is being tested. With that being said, how relevant are Nandroid Backups to this day? Back in 2011, when the world of Android was being awed by the likes of the Samsung Galaxy S2, a little modification made its appearance...

XDA NEWS
Emil Kako · Mar 4, 2015 at 11:49 am · 1 comment

HTC One M8 Owners: Upgrade to the M9, or Skip?

While HTC's latest flagship brings many new features, the aesthetic design of the device remains largely untouched in comparison to its predecessor. Many Android enthusiasts throughout the community were expecting a large redesign of one of the most beautiful handsets ever released, but what we got is something more along the lines of an 'HTC One M8S". So this begs the question, is the M9 worth the upgrade if you already own the M8? Current HTC One M8 users chime in and let us know your thoughts.

DISCUSS
Share This