arrow
Return

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
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Testing and debugging
Test case prioritization
Topic models

Journal

Empirical Software Engineering cover
Empirical Software Engineering
IF:
3.6
Papers:
2.0K
Citations:
5.3K

Organization

Q
queens university - canada
Scholars:
1.8W
Papers: 1.7W
Citations: 29
Cited Papers

Cited Papers

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
errShare
errSave
Geopolitics and discourse
err1992-03-01
err0
PREAI
errGearóid Ó Tuathail; John Agnew
errShare
errSave
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
errShare
errSave
errShare
errSave
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
errShare
errSave
Prioritizing test cases for regression testing
err2001-10-01
err828
PREAI
errRothermel, G; Untch, RH; Harrold, MJ
errShare
errSave
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
errShare
errSave
researcher View more