z-logo
Premium
Seeding strategies in search‐based unit test generation
Author(s) -
Rojas José Miguel,
Fraser Gordon,
Arcuri Andrea
Publication year - 2016
Publication title -
software testing, verification and reliability
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.216
H-Index - 49
eISSN - 1099-1689
pISSN - 0960-0833
DOI - 10.1002/stvr.1601
Subject(s) - seeding , computer science , software , heuristic , task (project management) , integration testing , reliability engineering , machine learning , artificial intelligence , data mining , programming language , systems engineering , engineering , aerospace engineering
Summary 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. © 2016 The Authors. Software Testing, Verification and Reliability Published by John Wiley & Sons Ltd.

This content is not available in your region!

Continue researching here.

Having issues? You can contact us here