在GUI测试重复使用中的语义匹配
Farideh Khalili1, Leonardo Mariani2, Ali Mohebbi3
1Northeastern University, Boston, MA USA.
概括
对Android应用程序重复使用测试案例可以节省时间和精力. 句子级语义匹配显著提高了测试重复使用的有效性,超过了单词级方法.
科学领域:
- 软件工程 软件工程 软件工程
- 实证软件工程 实证软件工程
- 软件测试 软件测试 软件测试
背景情况:
- 在具有共享功能的应用程序中重复使用测试案例可以减少开发工作量并加快可靠软件的上市时间.
- 在Android应用中迁移测试案例的现有方法通常依赖于语义匹配和测试生成算法.
研究的目的:
- 定义一个评估不同语义匹配技术在测试重复使用中的影响和有效性的一般框架,用于安卓应用程序迁移.
- 在测试迁移过程中对各种组件进行比较评估.
- 通过将每个测试迁移组件的最有效选择结合起来,提出一个优化的方法.
主要方法:
- 开发了一个框架来系统地评估语义匹配和测试重复使用方法,以便在Android应用程序中迁移测试案例.
- 进行了不同语义匹配技术的比较分析,包括词级和句子级嵌入.
- 在337个测试配置中使用8099个GUI事件进行了实验评估.
主要成果:
- 语义匹配对测试重复使用的有效性有着突出的影响.
- 句子级别的嵌入技术显著优于语义匹配的单词级别技术.
- 词嵌入模型的语料库大小对语义匹配算法的性能产生了微不足道的影响.
- 与所有事件类型相匹配相比,匹配选定的事件类型显示出更高的性能.
- 测试重复使用的整体有效性取决于测试套件和应用程序的特定特征.
结论:
- 在Android应用程序迁移中,语义匹配的选择显著影响了测试重复使用的有效性.
- 句子级别的语义匹配是一个比单词级别的匹配更有效的策略.
- 未来的研究可以利用提供的复制包进一步探索和完善测试重复使用策略.
相关概念视频
Mismatch Repair
4.8K
Organisms are capable of detecting and fixing nucleotide mismatches that occur during DNA replication. This sophisticated process requires identifying the new strand and replacing the erroneous bases with correct nucleotides. Mismatch repair is coordinated by many proteins in both prokaryotes and eukaryotes.
The Mutator Protein Family Plays a Key Role in DNA Mismatch Repair
The human genome has more than 3 billion base pairs of DNA per cell. Prior to cell division, that vast amount of genetic...
The Mutator Protein Family Plays a Key Role in DNA Mismatch Repair
The human genome has more than 3 billion base pairs of DNA per cell. Prior to cell division, that vast amount of genetic...
4.8K
Stereotype Content Model
14.0K
The Stereotype Content Model (SCM) was first proposed by Susan Fiske and her colleagues (Fiske, Cuddy, Glick & Xu, 2002; see also Fiske, 2012 and Fiske, 2017). The SCM specifies that when someone encounters a new group, they will stereotype them based on two metrics: warmth—or that group’s perceived intent, and how likely they are to provide help or inflict harm—and competence—or their ability to carry out that objective. Depending on the warmth-competence...
14.0K


