Rojas, J.M., Fraser, G. and Arcuri, A. (2016) Seeding strategies in search-based unit test generation. Software Testing Verification and Reliability, 26 (5). pp. 366-401. ISSN 0960-0833
Abstract
Search-based techniques have been applied successfully to the task of generating unit tests for object-oriented software. However, as for any meta-heuristic search, the efficiency heavily depends on many factors; seeding, which refers to the use of previous related knowledge to help solve the testing problem at hand, is one such factor that may strongly influence this efficiency. This paper investigates different seeding strategies for unit test generation, in particular seeding of numerical and string constants derived statically and dynamically, seeding of type information and seeding of previously generated tests. To understand the effects of these seeding strategies, the results of a large empirical analysis carried out on a large collection of open-source projects from the SF110 corpus and the Apache Commons repository are reported. These experiments show with strong statistical confidence that, even for a testing tool already able to achieve high coverage, the use of appropriate seeding strategies can further improve performance.
Metadata
Item Type: | Article |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2016 The Authors. Software Testing, Verification and Reliability Published by John Wiley & Sons Ltd. This is an open access article under the terms of the Creative Commons Attribution License, which permits use, distribution and reproduction in any medium, provided the original work is properly cited. |
Keywords: | test case generation;search-based testing;testing classes;search-based software engineering;JUnit;Java |
Dates: |
|
Institution: | The University of Sheffield |
Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
Depositing User: | Symplectic Sheffield |
Date Deposited: | 12 Jul 2016 11:47 |
Last Modified: | 10 Oct 2016 13:50 |
Published Version: | http://dx.doi.org/10.1002/stvr.1601 |
Status: | Published |
Publisher: | Wiley |
Refereed: | Yes |
Identification Number: | 10.1002/stvr.1601 |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:101955 |
Download
Filename: Rojas_et_al-2016-Software_Testing,_Verification_and_Reliability.pdf
Licence: CC-BY 4.0