Effective Testing of Android Apps Using Extended

Minxue Pan,Yifei Lu,Yu Pei,Tian Zhang,Juan Zhai,Xuandong Li
2019-01-01
Abstract:7 The last decade has seen a vast proliferation of mobile apps. To improve the 8 reliability of such apps, various techniques have been developed to automatically 9 generate tests for them. While such techniques have been proven to be useful 10 in producing test suites that achieve significant levels of code coverage, there is 11 still enormous demand for techniques that effectively generate tests to exercise 12 more code and detect more bugs of apps. 13 We propose in this paper the Adamant approach to automated Android app 14 testing. Adamant utilizes models that incorporate valuable human knowledge 15 about the behaviours of the app under consideration to guide effective test 16 generation, and the models are encoded in an extended version of the Interaction 17 Flow Modeling Language (IFML). 18 In an experimental evaluation on 10 open source Android apps, Adamant 19 generated over 130 test actions per minute, achieved around 68% code coverage, 20 and exposed 8 real bugs, significantly outperforming other test generation tools 21 like Monkey, AndroidRipper, and Gator in terms of code covered and bugs 22 detected. 23
What problem does this paper attempt to address?