Authors
Abdelilah Sakti, Gilles Pesant, Yann-Gaël Guéhéneuc
Publication date
2014/10/16
Journal
IEEE Transactions on Software Engineering
Volume
41
Issue
3
Pages
294-313
Publisher
IEEE
Description
Search-based approaches have been extensively applied to solve the problem of software test-data generation. Yet, test-data generation for object-oriented programming (OOP) is challenging due to the features of OOP, e.g., abstraction, encapsulation, and visibility that prevent direct access to some parts of the source code. To address this problem we present a new automated search-based software test-data generation approach that achieves high code coverage for unit-class testing. We first describe how we structure the test-data generation problem for unit-class testing to generate relevant sequences of method calls. Through a static analysis, we consider only methods or constructors changing the state of the class-under-test or that may reach a test target. Then we introduce a generator of instances of classes that is based on a family of means-of-instantiation including subclasses and external factory methods …
Total citations
201320142015201620172018201920202021202220232024181213125861195
Scholar articles
A Sakti, G Pesant, YG Guéhéneuc - IEEE Transactions on Software Engineering, 2014