Techniques for Efficient and Effective Mobile Testing

Techniques for Efficient and Effective Mobile Testing

by Gang Hu

Browse books you can read free on Readfeed

No club is reading this yet — be the first to start one

Start a club free
About
The booming mobile app market attracts a large number of developers. As a result, the competition is extremely tough. This fierce competition leads to high standards required for mobile apps, which mandates efficient and effective testing. Efficient testing requires little effort to use, while effective testing checks that the app under test behaves as expected. Manual testing is highly effective, but it is costly. Automatic testing should come to the rescue, but current automatic methods are either ineffective or inefficient. Methods using implicit specifications – for instance, “an app should not crash” for catching fail-stop errors – are ineffective because they cannot find semantic problems. Methods using explicit specifications such as test scripts are inefficient because they require huge developer effort to create and maintain specifications. In this thesis, we present our two approaches for solving these challenges. We first built the AppDoctor system which efficiently tests mobile apps. It quickly explores an app then slowly but accurately verifies the potential problems to identify bugs without introducing false positives. It uses dependencies discovered between actions to simplify its reports. Our second approach, implemented in the AppFlow system, leverages the ample opportunity of reusing test cases between apps to gain efficiency without losing effectiveness. It allows common UI elements to be used in test scripts then recognizes these UI elements in real apps using a machine learning approach. The system also allows tests to be specified in reusable pieces, and provides a system to synthesize complete test cases from these reusable pieces. It enables robust tests to be created and reused across apps in the same category. The combination of these two approaches enables a developer to quickly test an app on a great number of combinations of actions for fail-stop problems, and effortlessly and efficiently test the app on most common scenarios for semantic problems. This combination covers most of her test requirements and greatly reduces her burden in testing the app.

Discussion questions for Techniques for Efficient and Effective Mobile Testing

Bring these to your book club — or discuss them with readers on Readfeed.

  1. 1

    How does the author characterize the tension between the high cost of manual testing and the limitations of current automated testing methods?

  2. 2

    In what ways does the book highlight the balance between efficiency (using little effort) and effectiveness (ensuring correct behavior) in modern software development?

  3. 3

    How do implicit specifications (like checking for crashes) and explicit specifications (like test scripts) shape our understanding of what constitutes a "good" software test?

Discuss Techniques for Efficient and Effective Mobile Testing with other readers

Join or start a book club for Techniques for Efficient and Effective Mobile Testing on Readfeed. Live chat, shared reading progress, and AI discussion questions — free to get started.

Frequently asked questions

How do I join a book club for Techniques for Efficient and Effective Mobile Testing?

Sign up free on Readfeed, then browse public clubs or start your own club with Techniques for Efficient and Effective Mobile Testing as the current read. Invite friends with a share link and discuss together with live chat and AI discussion questions.

Can I discuss Techniques for Efficient and Effective Mobile Testing with other readers online?

Yes. Readfeed book clubs let you chat live, share progress, and join discussions about Techniques for Efficient and Effective Mobile Testing with readers worldwide — whether your club is virtual, in-person, or hybrid.

Is Readfeed free?

Yes. Creating an account and joining book clubs is free. Sign up to find readers who love the same books and start discussing today.