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 条
  • [41] Semantic enrichment in ontologies for matching
    Tun, Nwe Ni
    Tojo, Satoshi
    INTERNATIONAL JOURNAL ON SEMANTIC WEB AND INFORMATION SYSTEMS, 2006, 2 (04) : 33 - 67
  • [42] Semantic Matching Using the UMLS
    Shamdasani, Jetendr
    Hauer, Tamas
    Bloodsworth, Peter
    Branson, Andrew
    Odeh, Mohammed
    McClatchey, Richard
    SEMANTIC WEB: RESEARCH AND APPLICATIONS, 2009, 5554 : 203 - 217
  • [43] Semantic matching for the medical domain
    Shamdasani, Jetendr
    Bloodsworth, Peter
    McClatchey, Richard
    SHARING DATA, INFORMATION AND KNOWLEDGE, PROCEEDINGS, 2008, 5071 : 198 - 202
  • [44] Matching Semantic Web Resources
    Castano, S.
    Ferrara, A.
    Montanelli, S.
    Varese, G.
    PROCEEDINGS OF THE 20TH INTERNATIONAL WORKSHOP ON DATABASE AND EXPERT SYSTEMS APPLICATION, 2009, : 84 - 88
  • [45] Ontology matching with semantic verification
    Jean-Mary, Yves R.
    Shironoshita, E. Patrick
    Kabuka, Mansur R.
    JOURNAL OF WEB SEMANTICS, 2009, 7 (03): : 235 - 251
  • [46] Semantic matching in hierarchical ontologies
    Khan, Sharifullah
    Safyan, Muhammad
    JOURNAL OF KING SAUD UNIVERSITY-COMPUTER AND INFORMATION SCIENCES, 2014, 26 (03) : 247 - 257
  • [47] CSRS: Code Search with Relevance Matching and Semantic Matching
    Cheng, Yi
    Kuang, Li
    30TH IEEE/ACM INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2022), 2022, : 533 - 542
  • [48] Semantic matching of ontology instances
    Liu, Miao
    Guo, He-Qing
    Su, Jin-Dian
    PROCEEDINGS OF 2007 INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND CYBERNETICS, VOLS 1-7, 2007, : 2959 - +
  • [49] A GUI tool for plausible reasoning in the Semantic Web using MEBN
    Carvalho, Rommel N.
    Santos, Laecio L.
    Ladeira, Marcelo
    Costa, Paulo Cesar G.
    PROCEEDINGS OF THE 7TH INTERNATIONAL CONFERENCE ON INTELLIGENT SYSTEMS DESIGN AND APPLICATIONS, 2007, : 381 - +
  • [50] Semantic Representation of Design Process Knowledge Reuse
    Fu Z.
    Wang Y.
    Ding X.
    Data Analysis and Knowledge Discovery, 2019, 3 (06): : 21 - 29