DocumentCode
3030691
Title
Increasing Test Granularity by Aggregating Unit Tests
Author
Jorde, Matthew ; Elbaum, Sebastian ; Dwyer, Matthew B.
Author_Institution
Univ. of Nebraska - Lincoln, Lincoln, NE
fYear
2008
fDate
15-19 Sept. 2008
Firstpage
9
Lastpage
18
Abstract
Unit tests are focused, efficient, and there are many techniques to support their automatic generation. Coarser granularity tests, however, are necessary to validate the behavior of larger software components, and are also likely to be more robust in the presence of program changes. This paper investigates whether coarser granularity tests can be automatically generated by aggregating unit tests. We leverage our Differential Unit Test (DUT) framework to represent unit tests, define a space of potential aggregations of those unit tests, and implement a strategy to traverse that space to generate Aggregated DUTs (A- DUTs) that validate the effects of multiple method calls on a (set of) receiver object(s). An empirical study of A-DUTs on two applications shows their tradeoffs with DUTs and their potential to increase the number of versions for which tests remain usable relative to method level tests.
Keywords
object-oriented programming; program testing; aggregated differential unit test; automatic generation; differential unit test framework; granularity tests; software components; test granularity; Assembly systems; Automatic testing; Fault detection; Robustness; Software testing; System testing;
fLanguage
English
Publisher
ieee
Conference_Titel
Automated Software Engineering, 2008. ASE 2008. 23rd IEEE/ACM International Conference on
Conference_Location
L´Aquila
ISSN
1938-4300
Print_ISBN
978-1-4244-2187-9
Electronic_ISBN
1938-4300
Type
conf
DOI
10.1109/ASE.2008.11
Filename
4639304
Link To Document