DocumentCode
3773151
Title
Input-Driven Active Testing of Multi-threaded Programs
Author
Han Yue;Peng Wu;Tsong-Yueh Chen;Yi Lv
Author_Institution
State Key Lab. of Comput. Sci., Inst. of Software, Beijing, China
fYear
2015
Firstpage
246
Lastpage
253
Abstract
It is still a challenge to select "good" test inputs for concurrent programs within limited testing resources. We present in this paper a test case diversity metric for multi-threaded programs, which evaluates a test input with its effect in exposing concurrent thread interactions. We then propose an input-driven active testing approach with two test input selection strategies based on our test case diversity metric. We implement our testing approach based on Maple, an interleaving coverage-driven active testing tool. The effectiveness and efficiency of our testing approach are compared closely with Maple, which on its own is supplied with random test inputs. Experimental results show that our testing approach can outperform the original active testing approach in the number of test inputs executed and the time usage for fulfilling the interleaving coverage criterion of Maple. The selected test inputs based on our test case diversity metric are very cost-effective in exposing concurrent thread interactions and hence can help detect concurrency bugs with less cost and effort.
Keywords
"Testing","Concurrent computing","Programming","Measurement","Subspace constraints","Instruction sets","Computer bugs"
Publisher
ieee
Conference_Titel
Software Engineering Conference (APSEC), 2015 Asia-Pacific
Electronic_ISBN
1530-1362
Type
conf
DOI
10.1109/APSEC.2015.34
Filename
7467307
Link To Document