Keep It Functional 2.0

Nearly 2 years ago I wrote the post “iPhone test automation using KIF (Keep It Functional)“. The fact that I am not working with KIF in one of my current projects, I missed the new KIF 2.0 release. The new version was released in september 2013 with a major rewrite of the framework. KIF 2.0 … Read more

2 years of Blogging

Today is the second birthday of my blog http://www.adventuresinqa.com! During this time I posted 61 articles about software testing and mobile test automation. I had nearly 40.000 visits from around the world and this number is getting bigger every day! When I started this blog two years ago, I never thought that there will be so … Read more

Espresso for Android

Last week the google Android team announced the launch of the developer preview for Espresso. Espresso is the new UI testing tool presented at the GTAC earlier this year. In the google testing blog it says: The compelling thing about developing Espresso was making it easy and fun for developers to write reliable UI tests. Espresso has a … Read more

How to test energy consumption on Android devices

Last week I attended the Eclipse Testing Day 2013 in Darmstadt/ Germany. The main topic of the conference was Mobile Testing. One of the best talks was “Energy testing and optimization of mobile applications” by Claas Wilke. Claas talked about the energy consumption of apps and that this topic is not considered by all developers during the development and testing phase. To prevent apps to consume to much battery, Claas developed a tool called JouleUnit. JouleUnit is an energy profiler, that can be used for Android apps, to find unnecessary battery usage of the app during runtime. JouleUnit is using the Android instrumentation framework to test the app. Beside profiling the battery usage you can also monitor the device CPU, WiFi or the display brightness. JouleUnit tests have the same structure like JUnit tests. At the end of the test run a nice graph is generated to see the battery consumption of the app.

JouleUnit Graph

Read more