Oral Communication: Generating Network Data for Automated Unit Test Generation

Although automated unit test generation techniques can in principle generate test suites that achieve high code coverage, in practice this is often inhibited by the dependence of the code under test on external resources. In particular, a common problem in modern programming languages is posed by co...

Descripción completa

Guardado en:
Detalles Bibliográficos
Autores principales: Arcuri, Andrea, Fraser, Gordon, Galeotti, Juan P.
Formato: Objeto de conferencia Resumen
Lenguaje:Inglés
Publicado: 2016
Materias:
Acceso en línea:http://sedici.unlp.edu.ar/handle/10915/57301
http://45jaiio.sadio.org.ar/sites/default/files/asse-22.pdf
Aporte de:
Descripción
Sumario:Although automated unit test generation techniques can in principle generate test suites that achieve high code coverage, in practice this is often inhibited by the dependence of the code under test on external resources. In particular, a common problem in modern programming languages is posed by code that involves networking (e.g., opening a TCP listening port). In order to generate tests for such code, we describe an approach where we mock (simulate) the networking interfaces of the Java standard library, such that a search-based test generator can treat the network as part of the test input space.