Paper published in a book (Scientific congresses, symposiums and conference proceedings)
Combining Multiple Coverage Criteria in Search-Based Unit Test Generation
Rojas, Miguel; Campos, Jose; Vivanti, Mattia et al.
2015In Symposium on Search-Based Software Engineering (SSBSE)
Peer reviewed
 

Files


Full Text
paper-comp-fitness.pdf
Publisher postprint (378.42 kB)
Request a copy

All documents in ORBilu are protected by a user license.

Send to



Details



Abstract :
[en] Automated test generation techniques typically aim at max- imising coverage of well-established structural criteria such as statement or branch coverage. In practice, generating tests only for one speci c criterion may not be su cient when testing object oriented classes, as standard structural coverage criteria do not fully capture the properties developers may desire of their unit test suites. For example, covering a large number of statements could be easily achieved by just calling the main method of a class; yet, a good unit test suite would consist of smaller unit tests invoking individual methods, and checking return values and states with test assertions. There are several di erent properties that test suites should exhibit, and a search-based test generator could easily be extended with additional tness functions to capture these properties. However, does search-based testing scale to combinations of multiple cri- teria, and what is the e ect on the size and coverage of the resulting test suites? To answer these questions, we extended the EvoSuite unit test generation tool to support combinations of multiple test criteria, de ned and implemented several di erent criteria, and applied combinations of criteria to a sample of 650 open source Java classes. Our experiments suggest that optimising for several criteria at the same time is feasible without increasing computational costs: When combining nine di erent criteria, we observed an average decrease of only 0.4% for the constituent coverage criteria, while the test suites may grow up to 70%.
Disciplines :
Computer science
Author, co-author :
Rojas, Miguel
Campos, Jose
Vivanti, Mattia
Fraser, Gordon
ARCURI, Andrea;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
External co-authors :
yes
Language :
English
Title :
Combining Multiple Coverage Criteria in Search-Based Unit Test Generation
Publication date :
2015
Event name :
Symposium on Search-Based Software Engineering (SSBSE)
Event date :
September 5-7, 2015
Main work title :
Symposium on Search-Based Software Engineering (SSBSE)
Publisher :
Springer
Peer reviewed :
Peer reviewed
Available on ORBilu :
since 29 June 2015

Statistics


Number of views
131 (8 by Unilu)
Number of downloads
2 (2 by Unilu)

Scopus citations®
 
79
Scopus citations®
without self-citations
56

Bibliography


Similar publications



Contact ORBilu