Document details

A strategy for evaluating feasible and unfeasible test cases for the evolutionary testing of object-oriented software

Author(s): Ribeiro, José Carlos Bregieiro ; Zenha-Rela, Mário Alberto ; Fernandéz de Vega, Francisco

Date: 2008

Persistent ID: http://hdl.handle.net/10400.8/130

Origin: IC-online

Subject(s): Evolutionary testing; Object-orientation; Search-based test case generation; Strongly-typed genetic programming


Description

Evolutionary Testing is an emerging methodology for automatically producing high quality test data. The focus of our on-going work is precisely on generating test data for the structural unit-testing of object-oriented Java programs. The primary objective is that of efficiently guiding the search process towards the definition of a test set that achieves full structural coverage of the test object. However, the state problem of object-oriented programs requires specifying carefully fine-tuned methodologies that promote the traversal of problematic structures and difficult control-flow paths - which often involves the generation of complex and intricate test cases, that define elaborate state scenarios. This paper proposes a methodology for evaluating the quality of both feasible and unfeasible test cases - i.e., those that are effectively completed and terminate with a call to the method under test, and those that abort prematurely because a runtime exception is thrown during test case execution. With our approach, unfeasible test cases are considered at certain stages of the evolutionary search, promoting diversity and enhancing the possibility of achieving full coverage.

Document Type Conference object
Language English
Contributor(s) Repositório IC-Online
facebook logo  linkedin logo  twitter logo 
mendeley logo

Related documents