DocumentCode
3128542
Title
Establishing Traceability Links between Unit Test Cases and Units under Test
Author
Van Rompaey, B. ; Demeyer, Serge
Author_Institution
Lab. On REengineering, Univ. of Antwerp, Antwerp
fYear
2009
fDate
24-27 March 2009
Firstpage
209
Lastpage
218
Abstract
Coding and testing are two activities that are tightly intermingled in agile software development, requiring developers to frequently shift between production code and test artifacts. Unfortunately, links between these artifacts are typically implicitly present in the source code, forcing developers towards time consuming code inspections. In this work, we evaluate the potential of six traceability resolution strategies involving test naming and design conventions, static call graphs, call behavior before asserts, lexical analysis and version log mining to make the relation between developer test cases and units under test explicit. The results show that test conventions yield highly accurate results, yet in their absence capturing the destination type of calls right before assert statements appears as a valuable alternative. Combining these strategies allows the user to find a balance between improved applicability and accuracy.
Keywords
program testing; agile software development; call behavior; design convention; lexical analysis; production code; software coding; software testing; source code; static call graph; test naming; traceability links; traceability resolution; unit test case; units under test; version log mining; Control systems; Documentation; Inspection; Java; Maintenance engineering; Production systems; Programming; Software maintenance; Software testing; System testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Maintenance and Reengineering, 2009. CSMR '09. 13th European Conference on
Conference_Location
Kaiserslautern
ISSN
1534-5351
Print_ISBN
978-0-7695-3589-0
Type
conf
DOI
10.1109/CSMR.2009.39
Filename
4812754
Link To Document