TEGDroid: Test Case Generation Approach for Android Apps Considering Context and GUI Events
Autor: | Asmau Usman, Ibrahim Anka Salihu, Noraini Ibrahim |
---|---|
Rok vydání: | 2020 |
Předmět: |
General Computer Science
Computer science computer.internet_protocol General Engineering 020207 software engineering 02 engineering and technology Permission Static analysis Fault detection and isolation Bytecode Human–computer interaction 0202 electrical engineering electronic engineering information engineering 020201 artificial intelligence & image processing Mobile technology Android (operating system) General Agricultural and Biological Sciences Mobile device computer XML |
Zdroj: | International Journal on Advanced Science, Engineering and Information Technology. 10:16 |
ISSN: | 2460-6952 2088-5334 |
Popis: | The advancement in mobile technologies has led to the production of mobile devices (e.g. smartphone) with rich innovative features. This has enabled the development of mobile applications that offer users an advanced and extremely localized context-aware content. The recent dependence of people on mobile applications for various computational needs poses a significant concern on the quality of mobile applications. In order to build a high quality and more reliable applications, there is a need for effective testing techniques to test the applications. Most existing testing technique focuses on GUI events only without sufficient support for context events. This makes it difficult to identify other defects in the changes that can be inclined by context in which an application runs. This paper presents an approach named TEGDroid for generating test case for Android Apps considering both context and GUI Events. The GUI and context events are identified through the static analysis of bytecode, and the analysis of app’s permission from the XML file. An experiment was performed on real world mobile apps to evaluate TEGDroid. Our experimental results show that TEGDroid is effective in identifying context events and had 65%-91% coverage across the eight selected applications. To evaluate the fault detection capability of this approach, mutation testing was performed by introducing mutants to the applications. Results from the mutation analysis shows that 100% of the mutants were killed. This indicates that TEGDroid have the capability to detect faults in mobile apps. |
Databáze: | OpenAIRE |
Externí odkaz: |