arrow
返回

Static test case prioritization using topic models

delete2012-07-28
delete106
PRE
AI
H
Hadi Hemmati
A
Ahmed E. Hassan
D
Dorothea Blostein
DOI:10.1007/s10664-012-9219-7delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Software development teams use test suites to test changes to their source code. In many situations, the test suites are so large that executing every test for every source code change is infeasible, due to time and resource constraints. Development teams need to prioritize their test suite so that as many distinct faults as possible are detected early in the execution of the test suite. We consider the problem of static black-box test case prioritization (TCP), where test suites are prioritized without the availability of the source code of the system under test (SUT). We propose a new static black-box TCP technique that represents test cases using a previously unused data source in the test suite: the linguistic data of the test cases, i.e., their identifier names, comments, and string literals. Our technique applies a text analysis algorithm called topic modeling to the linguistic data to approximate the functionality of each test case, allowing our technique to give high priority to test cases that test different functionalities of the SUT. We compare our proposed technique with existing static black-box TCP techniques in a case study of multiple real-world open source systems: several versions of Apache Ant and Apache Derby. We find that our static black-box TCP technique outperforms existing static black-box TCP techniques, and has comparable or better performance than two existing execution-based TCP techniques. Static black-box TCP methods are widely applicable because the only input they require is the source code of the test cases themselves. This contrasts with other TCP techniques which require access to the SUT runtime behavior, to the SUT specification models, or to the SUT source code.
Keyword:
Testing and debugging
Test case prioritization
Topic models

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

Q
queens university - canada
学者数:
1.8W
论文数: 1.7W
被引数: 29
引用论文

引用论文

Multicenter experiences with levosimendan therapy and its safety in patients with decompensated advanced heart failure
err2020-12-03
err0
errOAAI
errMałgorzata Lelonek; Iwona Stopczynska; Ewa Koroscik; Ewa Straburzynska-Migaj; Marcin Gruchala
err分享
err收藏
Geopolitics and discourse地缘政治与话语
err1992-03-01
err0
PREAI
errGearóid Ó Tuathail; John Agnew
err分享
err收藏
Challenges of Cardiac Transplantation Following the Fontan Procedure
err2017-07-11
err0
PREAI
errJames K. Kirklin; F. Bennett Pearce; Robert J. Dabal; Waldemar F. Carlo; David C. Mauchley
err分享
err收藏
err分享
err收藏
Classification of Iron-Sulfur Cores in Ferredoxins by 1H Nuclear Magnetic Resonance Spectroscopy12
err1983-07-01
err0
PREAI
errKuniaki NAGAYAMA; Yukihiro OZAKI; Yoshimasa KYOGOKU; Toshiharu HASE; Hiroshi MATSUBARA
err分享
err收藏
Serum HER2 Level Measured by Dot Blot: A Valid and Inexpensive Assay for Monitoring Breast Cancer Progression
err2011-04-13
err0
errOAAI
errLi-Duan Tan; Yuan-Yuan Xu; Yue Yu; Xiao-Qing Li; Ying Chen; Yu-Mei Feng
err分享
err收藏
学者 查看更多内容