Title :
Automatic Test-Pattern Generation for Grey-Box Programs
Author :
Khalili, Ali ; Narizzano, Massimo ; Tacchella, Armando ; Giunchiglia, Enrico
Author_Institution :
DIBRIS, Univ. degli Studi di Genova, Genoa, Italy
Abstract :
In the context of structural testing, automatic test-pattern generation (ATPG) may fail to provide suites covering 100% of the testing requirements for grey-box programs, i.e., Applications wherein source code is available for some parts (white-box), but not for others (black-box). Furthermore, test suites based on abstract models may elicit behaviors on the actual program that diverge from the intended ones. In this paper, we present a new ATPG methodology to reduce divergence without increasing manual effort. This is achieved by (i) learning models of black-box components as finite-state machines, and (ii) composing the learnt models with the white-box components to generate test-suites for the grey-box program. Experiments with a prototypical implementation of our methodology show that it yields measurable improvements over two comparable state-of-the-art solutions.
Keywords :
finite state machines; program testing; source code (software); ATPG methodology; abstract models; automatic test-pattern generation; black-box components; divergence reduction; finite-state machines; grey-box programs; learning models; source code; structural testing; test-suite generation; testing requirement; white-box components; Automatic test pattern generation; Data models; Model checking; Prototypes; Software; Software algorithms;
Conference_Titel :
Automation of Software Test (AST), 2015 IEEE/ACM 10th International Workshop on
Conference_Location :
Florence
DOI :
10.1109/AST.2015.14