Title of article :
An integrated search-based approach for automatic testing from extended finite state machine (EFSM) models
Author/Authors :
Kalaji، نويسنده , , Abdul Salam and Hierons، نويسنده , , Robert Mark and Swift، نويسنده , , Stephen، نويسنده ,
Issue Information :
ماهنامه با شماره پیاپی سال 2011
Pages :
22
From page :
1297
To page :
1318
Abstract :
Context tended finite state machine (EFSM) is a modelling approach that has been used to represent a wide range of systems. When testing from an EFSM, it is normal to use a test criterion such as transition coverage. Such test criteria are often expressed in terms of transition paths (TPs) through an EFSM. Despite the popularity of EFSMs, testing from an EFSM is difficult for two main reasons: path feasibility and path input sequence generation. The path feasibility problem concerns generating paths that are feasible whereas the path input sequence generation problem is to find an input sequence that can traverse a feasible path. ive search-based approaches have been used in test automation, there has been relatively little work that uses them when testing from an EFSM. In this paper, we propose an integrated search-based approach to automate testing from an EFSM. proach has two phases, the aim of the first phase being to produce a feasible TP (FTP) while the second phase searches for an input sequence to trigger this TP. The first phase uses a Genetic Algorithm whose fitness function is a TP feasibility metric based on dataflow dependence. The second phase uses a Genetic Algorithm whose fitness function is based on a combination of a branch distance function and approach level. s mental results using five EFSMs found the first phase to be effective in generating FTPs with a success rate of approximately 96.6%. Furthermore, the proposed input sequence generator could trigger all the generated feasible TPs (success rate = 100%). sion sults derived from the experiment demonstrate that the proposed approach is effective in automating testing from an EFSM.
Keywords :
Search-based testing , EFSM , Feasible transition paths , Automatic test derivation
Journal title :
Information and Software Technology
Serial Year :
2011
Journal title :
Information and Software Technology
Record number :
2374740
Link To Document :
بازگشت