DocumentCode :
3559483
Title :
Carving and Replaying Differential Unit Test Cases from System Test Cases
Author :
Elbaum, Sebastian ; Chin, Hui Nee ; Dwyer, Matthew B. ; Jorde, Matthew
Author_Institution :
Dept. of Comput. Sci. & Eng., Univ. of Nebraska, Lincoln, NE
Volume :
35
Issue :
1
fYear :
2009
Firstpage :
29
Lastpage :
45
Abstract :
Unit test cases are focused and efficient. System tests are effective at exercising complex usage patterns. Differential unit tests (DUT) are a hybrid of unit and system tests that exploits their strengths. They are generated by carving the system components, while executing a system test case, that influence the behavior of the target unit, and then re-assembling those components so that the unit can be exercised as it was by the system test. In this paper we show that DUTs retain some of the advantages of unit tests, can be automatically generated, and have the potential for revealing faults related to intricate system executions. We present a framework for carving and replaying DUTs that accounts for a wide variety of strategies and tradeoffs, we implement an automated instance of the framework with several techniques to mitigate test cost and enhance flexibility and robustness, and we empirically assess the efficacy of carving and replaying DUTs on three software artifacts.
Keywords :
automatic test software; program testing; complex usage patterns; differential unit test cases; software artifacts; system components; system test cases; Test design; Test execution; Testing strategies;
fLanguage :
English
Journal_Title :
Software Engineering, IEEE Transactions on
Publisher :
ieee
Conference_Location :
12/12/2008 12:00:00 AM
ISSN :
0098-5589
Type :
jour
DOI :
10.1109/TSE.2008.103
Filename :
4711061
Link To Document :
بازگشت