Please use this identifier to cite or link to this item: http://hdl.handle.net/10397/114194
PIRA download icon_1.1View/Download Full Text
Title: Effective unit test generation for Android apps
Authors: Ma, G
Pei, Y 
Chen, L
Gan, C
Zhang, H
Liang, H
Zhang, T
Issue Date: 2024
Source: In Proceedings: 2024 IEEE International Conference on Software Maintenance and Evolution ICSME 2024, p. 820-832. Danvers, MA: The Institute of Electrical and Electronics Engineers, Inc., 2024
Abstract: While the received wisdom says that testing at levels like classes and methods is necessary for detecting bugs in programs, the application of unit testing to Android development in practice is limited so far due to the lack of sufficient technical and tool support. This paper proposes the EvoDroid approach to the automated unit test suite generation for Android code. EvoDroid is inspired by Evoobj, a SOTA test generation technique for object-oriented Java programs based on Evo-SUITE. EvoObj generates unit test suites for Java methods and constructs object construction graphs to guide the synthesis of complex objects as test inputs. In contrast to that, EvoDroid generates test suites for Java classes, and its object synthesis is driven by input structure maps which are comparably effective but much less expensive to construct. EvoDroid also integrates the Robolectric framework to support running Android unit tests on regular Java virtual machines. Experimental evaluation results show that EvoDroid is both effective and efficient in generating unit test suites for Android.
Keywords: Android
Search-based unit test generation
Static analysis
Publisher: The Institute of Electrical and Electronics Engineers, Inc.
ISBN: 979-8-3503-9568-6
DOI: 10.1109/ICSME58944.2024.00085
Description: 40th International Conference on Software Maintenance and Evolution ICSME 2024, Flagstaff, Arizona, 6-11 October 2024
Rights: © 2024 IEEE. Personal use of this material is permitted. Permission from IEEE must be obtained for all other uses, in any current or future media, including reprinting/republishing this material for advertising or promotional purposes, creating new collective works, for resale or redistribution to servers or lists, or reuse of any copyrighted component of this work in other works.
The following publication G. Ma et al., "Effective Unit Test Generation for Android Apps," 2024 IEEE International Conference on Software Maintenance and Evolution (ICSME), Flagstaff, AZ, USA, 2024, pp. 820-832 is available at https://doi.org/10.1109/ICSME58944.2024.00085.
Appears in Collections:Conference Paper

Files in This Item:
File Description SizeFormat 
Ma_Effective_Unit_Test.pdfPre-Published version1.12 MBAdobe PDFView/Open
Open Access Information
Status open access
File Version Final Accepted Manuscript
Access
View full-text via PolyU eLinks SFX Query
Show full item record

Google ScholarTM

Check

Altmetric


Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.