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 条
  • [1] Semantic Matching of GUI Events for Test Reuse: Are We There Yet?
    Mariani, Leonardo
    Mohebbi, Ali
    Pezze, Mauro
    Terragni, Valerio
    ISSTA '21: PROCEEDINGS OF THE 30TH ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2021, : 177 - 190
  • [2] Enhancing test reuse with GUI events deduplication and adaptive semantic matching
    Liu, Shuqi
    Zhou, Yu
    Ji, Longbing
    Han, Tingting
    Chen, Taolue
    SCIENCE OF COMPUTER PROGRAMMING, 2024, 232
  • [3] Test Reuse based on Adaptive Semantic Matching across Android Mobile Applications
    Liu, Shuqi
    Zhou, Yu
    Han, Tingting
    Chen, Taolue
    2022 IEEE 22ND INTERNATIONAL CONFERENCE ON SOFTWARE QUALITY, RELIABILITY AND SECURITY, QRS, 2022, : 703 - 709
  • [4] Automatic GUI Test by Using SIFT Matching
    Fang, Xiaoxin
    Sheng, Bin
    Li, Ping
    Wu, Dan
    Wu, Enhua
    CHINA COMMUNICATIONS, 2016, 13 (09) : 227 - 236
  • [5] Automatic GUI Test by Using SIFT Matching
    Xiaoxin Fang
    Bin Sheng
    Ping Li
    Dan Wu
    Enhua Wu
    中国通信, 2016, 13 (09) : 227 - 236
  • [6] Novel Approach to Reuse Unused Test Cases in a GUI Based Application
    Mayan, Albert J.
    Priya, Lakshmi K.
    2015 INTERNATIONAL CONFERENCED ON CIRCUITS, POWER AND COMPUTING TECHNOLOGIES (ICCPCT-2015), 2015,
  • [7] The Ineffectiveness of Domain-Specific Word Embedding Models for GUI Test Reuse
    Khalili, Farideh
    Mohebbi, Ali
    Terragni, Valerio
    Pezze, Mauro
    Mariani, Leonardo
    Heydarnoori, Abbas
    30TH IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2022), 2022, : 560 - 564
  • [8] Reuse in semantic applications
    Assmann, U
    REASONING WEB, 2005, 3564 : 290 - 304
  • [9] Semantic matching
    Giunchiglia, F
    Shvaiko, P
    KNOWLEDGE ENGINEERING REVIEW, 2003, 18 (03): : 265 - 280
  • [10] Screen2Vec: Semantic Embedding of GUI Screens and GUI Components
    Li, Toby Jia-Jun
    Popowski, Lindsay
    Mitchell, Tom
    Myers, Brad A.
    CHI '21: PROCEEDINGS OF THE 2021 CHI CONFERENCE ON HUMAN FACTORS IN COMPUTING SYSTEMS, 2021,