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 条
  • [31] Building test applications at the GUI level
    Ludy, Tim
    EE-EVALUATION ENGINEERING, 2007, 46 (05): : 28 - +
  • [32] The role of semantic relatedness in producing the revelation effect: A test of the global-matching model
    Bornstein, Brian H.
    Robicheaux, Timothy R.
    Elliott, Emily M.
    JOURNAL OF COGNITIVE PSYCHOLOGY, 2015, 27 (02) : 207 - 217
  • [33] Semantic Matching Based on Semantic Segmentation and Neighborhood Consensus
    Xu, Huaiyuan
    Chen, Xiaodong
    Cai, Huaiyu
    Wang, Yi
    Liang, Haitao
    Li, Haotian
    APPLIED SCIENCES-BASEL, 2021, 11 (10):
  • [34] Deep Semantic Feature Matching
    Ufer, Nikolai
    Ommer, Bjoern
    30TH IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2017), 2017, : 5929 - 5938
  • [35] A new calculus for semantic matching
    Butow, B
    Giegerich, R
    Ohlebusch, E
    Thesing, S
    PROGRAMMING LANGUAGES: IMPLEMENTATIONS, LOGICS AND PROGRAMS, 1995, 982 : 81 - 96
  • [36] ASeMatch: A semantic matching method
    Roger, Sandra
    Buccella, Augustina
    Cechich, Alejandra
    Palomar, Manuel Sanz
    TEXT, SPEECH AND DIALOGUE, PROCEEDINGS, 2006, 4188 : 229 - 235
  • [37] Semantic matching for mathematical services
    Naylor, W
    Padget, J
    MATHEMATICAL KNOWLEDGE MANAGEMENT, 2006, 3863 : 174 - 189
  • [38] Semantic matching: Algorithms and implementation
    Giunchiglia, Fausto
    Yatskevich, Mikalai
    Shvaiko, Pavel
    JOURNAL ON DATA SEMANTICS IX, 2007, 4601 : 1 - +
  • [39] Semantic Matching in APP Search
    Zhuo, Juchao
    Huang, Zeqian
    Liu, Yunfeng
    Kang, Zhanhui
    Cao, Xun
    Li, Mingzhi
    Jin, Long
    WSDM'15: PROCEEDINGS OF THE EIGHTH ACM INTERNATIONAL CONFERENCE ON WEB SEARCH AND DATA MINING, 2015, : 209 - 209
  • [40] Semantic Attribute Matching Networks
    Kim, Seungryong
    Min, Dongbo
    Jeong, Somi
    Kim, Sunok
    Jeon, Sangryul
    Sohn, Kwanghoon
    2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, : 12331 - 12340