Autor(es):
Ribeiro, José Carlos Bregieiro ; Zenha-Rela, Mário Alberto ; Fernandéz de Vega, Francisco
Data: 2007
Identificador Persistente: http://hdl.handle.net/10400.8/131
Origem: IC-online
Assunto(s): Evolutionary testing; Object-orientation; Strongly-typed genetic programming
Descrição
Evolutionary Testing is an emerging methodology for automatically generating high quality test data. The focus of this paper is on presenting an approach for generating test cases for the unit-testing of object-oriented programs, with basis on the information provided by the structural analysis and interpretation of Java bytecode and on the dynamic execution of the instrumented test object. The rationale for working at the bytecode level is that even when the source code is unavailable, insight can still be obtained and used to guide the search-based test case generation process. Test cases are represented using the Strongly Typed Genetic Programming paradigm, which effectively mimics the polymorphic relationships, inheritance dependences and method argument constraints of object-oriented programs.