Mobile Test Pyramid

Mobile Test Pyramid - Adventures in QA

Anyone who is involved in software testing and software test automation should know the test automation pyramid introduced by Mike Cohn (http://www.mountaingoatsoftware.com/).

This article contains excerpts from my book „Hands-On Mobile App Testing“ published with Pearson Education.

As you can see in the following image, the typical pyramid consists of three layers. At the bottom, there is the automated unit-testing layer, in the middle the automated integration testing layer and at the top there is the automated end-to-end testing layer (including the user interface tests). Each layer has a different size, indicating the number of tests that should be written within each stage. Manual testing is not part of the test pyramid, hence it is shown as a cloud for additional testing work.

Test Pyramid - Adventures in QA

But this pyramid is not applicable to mobile apps and mobile test automation. Mobile testing requires a totally different set of testing activities like movement, sensors, different devices and networks compared to other software like desktop or web applications. Lots of manual testing is required to be sure that a mobile app is working as expected in the different usage scenarios.

Read more

Android M Testing with Doze and App Standby

Adventures in QA - Android M Testing with Doze and App Standby

You probably all know that Google has started with the rollout of Android M (Marshmallow). Android app developers and testers must know the new features that are coming with the latest version of Android M. Next to the brand new permission system, Android M also introduces Doze and App standby to save battery.

If a user leaves a device unplugged and stationary for a period of time, with the screen off, the device enters Doze mode. In Doze mode, the system attempts to conserve battery by restricting apps’ access to network and CPU-intensive services. It also prevents apps from accessing the network and defers their jobs, syncs, and standard alarms.
Periodically, the system exits Doze for a brief time to let apps complete their deferred activities. During this maintenance window, the system runs all pending syncs, jobs, and alarms, and lets apps access the network. (Source: Google documentation)

In order to be sure that your app is able to handle Doze and app Standby, Google provided some documentation on that. Here are the steps to make sure your app handles Doze (instructions copied from the documentation):

Testing your app with Doze

You can test Doze mode by following these steps:

Read more

Reading Recommendations # 37

Reading Recommendations - Adventures in QA

The 37th issue of the reading recommendation contains 6 posts. There is a great blog post from Rob Lambert about “Follow the work – bad news for Test Managers?”. Another posts are dealing with the topics “Test Early, to not fail often”, “Bugs are so yesterday”, “Measuring success in Testing”, “How do you surprise your team members during their next review?” and “The Tester Type Box – Why We Need To Break Out of It”.

Enjoy reading the posts and send me posts that are worth reading and I will mention you and link to your social links or blog.

Follow the work – bad news for Test Managers? – Rob Lambert Bad news for test managers

Read more

Mobile App Europe Summary and Slides

I am just back in Hamburg from the Mobile App Europe Conference and I am still excited about it. I had 2 great days in Potsdam meeting several mobile experts from all over the world to exchange on the latest mobile topics. I had the chance to talk to Dan Cuellar, the creator of Appium which was really great. I talked to people from booking.com, Groupon and other cool companies out there.

Another great thing was that I met Stephen Janaway and Richard Bradshaw again. We had some nice talks and at the end of the first day we were recording another episode of Testing in the Pub together with Denys Zelenchuck, Sergej Mudruk and André Gorzel.

Adventures in QA - Recording Testing in the Pub

Read more

Mobile Testing with Bug Radar

Bug Radar - Adventures in QAMy colleague Denys Zelenchuk has developed a very helpful Android app called Bug Radar. The main task of this app is to monitor any app that is running on a test device. Whenever the app under test is crashing or not responding (ANR), Bug Radar notifies you about the problem in the notification center and is creating a error report file including the stacktrace and the device info. The report will be saved on the device in the Bug Radar folder and can be send via email for further investigation.

Read more