一句话:提出工具 KARA,通过分析自动测试序列并构建知识图谱,自动生成可理解且提升众包测试质量的需求。
Android 系统碎片化与应用场景多样性给众包测试带来挑战,而众包测试需求生成是其中关键环节。手动生成需求繁琐,且要求发布者具备待测 Android 应用的领域知识。为此,作者开发了工具 KARA:它先分析 Android 应用自动测试结果以获取操作序列,再以 pay-as-you-go 方式构建目标应用知识图谱,最后结合知识图谱与自动测试结果生成包含领域知识的众包测试需求。实验表明,KARA 生成的测试需求具有良好可理解性,并能提升众包测试质量。
Crowdsourced testing provides an effective way to deal with the problem of Android system fragmentation, as well as the application scenario diversity faced by Android testing. The generation of test requirements is a significant part of crowdsourced testing. However, manually generating crowdsourced testing requirements is tedious, which requires the issuers to have the domain knowledge of the Android application under test. To solve these problems, we have developed a tool named KARA, short for Knowledge Graph Aided Crowdsourced Requirements Generation for Android Testing. KARA first analyzes the result of automatic testing on the Android application, through which the operation sequences can be obtained. Then, the knowledge graph of the target application is constructed in a manner of pay-as-you-go. Finally, KARA utilizes knowledge graph and the automatic testing result to generate crowdsourced testing requirements with domain knowledge. Experiments prove that the test requirements generated by KARA are well understandable, and KARA can improve the quality of crowdsourced testing. The demo video can be found at https://youtu.be/kE-dOiekWWM.
DOI 原文 ·
@inproceedings{paperbot6058,
title = {Crowdsourced requirements generation for automatic testing via knowledge graph},
author = {Chao Guo and Tieke He and Wei Yuan and Yue Guo and Rui Hao},
booktitle = {ISSTA},
year = {2020},
doi = {10.1145/3395363.3404363}
}