Semantic matching in GUI test reuse

被引:0
|
作者
Khalili, Farideh [1 ]
Mariani, Leonardo [2 ]
Mohebbi, Ali [3 ]
Pezze, Mauro [3 ,4 ]
Terragni, Valerio [5 ]
机构
[1] Northeastern Univ, Boston, MA USA
[2] Univ Milano Bicocca, Milan, Italy
[3] USI Univ Svizzera Italiana, Lugano, Switzerland
[4] Constructor Inst Schaffhausen, Schaffhausen, Switzerland
[5] Univ Auckland, Auckland, New Zealand
关键词
Software testing; Testing Android apps; Test reuse; Semantic matching for testing; Automatic test generation; Word Mover; Universal sentence encoder; Word2vec; Glove; Fast;
D O I
10.1007/s10664-023-10406-8
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Reusing test cases across apps that share similar functionalities reduces both the effort required to produce useful test cases and the time to offer reliable apps to the market. The main approaches to reuse test cases across apps combine different semantic matching and test generation algorithms to migrate test cases across Android apps. In this paper we define a general framework to evaluate the impact and effectiveness of different choices of semantic matching with Test Reuse approaches on migrating test cases across Android apps. We offer a thorough comparative evaluation of the many possible choices for the components of test migration processes. We propose an approach that combines the most effective choices for each component of the test migration process to obtain an effective approach. We report the results of an experimental evaluation on 8,099 GUI events from 337 test configurations. The results attest the prominent impact of semantic matching on test reuse. They indicate that sentence level perform better than word level embedding techniques. They surprisingly suggest a negligible impact of the corpus of documents used for building the word embedding model for the Semantic Matching Algorithm. They provide evidence that semantic matching of events of selected types perform better than semantic matching of events of all types. They show that the effectiveness of overall Test Reuse approach depends on the characteristics of the test suites and apps. The replication package that we make publicly available online (https://star.inf.usi.ch/#/software-data/11) allows researchers and practitioners to refine the results with additional experiments and evaluate other choices for test reuse components.
引用
收藏
页数:58
相关论文
共 50 条
  • [21] An experiment on the matching and reuse of XML schemas
    Lu, JG
    Wang, SR
    Wang, J
    WEB ENGINEERING, PROCEEDINGS, 2005, 3579 : 273 - 284
  • [22] SUPPORTING COMPONENT MATCHING FOR SOFTWARE REUSE
    SUTCLIFFE, A
    MAIDEN, N
    LECTURE NOTES IN COMPUTER SCIENCE, 1992, 593 : 290 - 303
  • [23] On the test case definition for GUI testing
    Cai, KY
    Zhao, L
    Hu, H
    Jiang, CH
    QSIC 2005: FIFTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE, PROCEEDINGS, 2005, : 19 - 26
  • [24] Test case prioritization for GUI testing
    Limpiyakorn, Y
    Kurusathian, P
    SERP '05: PROCEEDINGS OF THE 2005 INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING RESEARCH AND PRACTICE, VOLS 1 AND 2, 2005, : 338 - 344
  • [25] Building test applications at the GUI level
    Data Translation
    EE Eval Engin, 2007, 5 (28-31):
  • [26] SITAR: GUI Test Script Repair
    Gao, Zebao
    Chen, Zhenyu
    Zou, Yunxiao
    Memon, Atif M.
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2016, 42 (02) : 170 - 186
  • [27] Android GUI Test Generation with SARSA
    Khan, Md Khorrom
    Bryce, Renee
    2022 IEEE 12TH ANNUAL COMPUTING AND COMMUNICATION WORKSHOP AND CONFERENCE (CCWC), 2022, : 487 - 493
  • [28] Alternating GUI Test Generation and Execution
    Yuan, Xun
    Memon, Atif M.
    TACI PART 2008:TESTING: ACADEMIC AND INDUSTRIAL CONFERENCE PRACTICE AND RESEARCH TECHNIQUES, PROCEEDINGS, 2008, : 23 - 32
  • [29] Systematic Reduction of GUI Test Sequences
    Cheng, Lin
    Yang, Zijiang
    Wang, Chao
    PROCEEDINGS OF THE 2017 32ND IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING (ASE'17), 2017, : 849 - 860
  • [30] Automated Modularization of GUI Test Cases
    Yandrapally, Rahulkrishna
    Sridhara, Giriprasad
    Sinha, Saurabh
    2015 IEEE/ACM 37TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, VOL 1, 2015, : 44 - 54