Data flow testing is a white box testing approach that uses the dataflow relations in a program for the selection of test cases. Evolutionary testing uses the evolutionary approaches for the generation and selection of test data. This paper presents a novel approach applying evolutionary algorithms for the automatic generation of test paths using data flow relations in a program. Our approach starts with a random initial population of test paths and then based on the selected testing criteria new paths are generated by applying a genetic algorithm. A fitness function evaluates each chromosome (path) based on the selected data flow testing criteria and computes its fitness. We have applied one point crossover and mutation operators for the generation of new population. The approach has been implemented in Java by a prototype tool called ETODF for validation. In experiments with this prototype, our approach has much better results as compared to random testing. © 2011 Springer-Verlag.
CITATION STYLE
Khan, S. A., & Nadeem, A. (2011). Applying evolutionary approaches to data flow testing at unit level. In Communications in Computer and Information Science (Vol. 257 CCIS, pp. 46–55). https://doi.org/10.1007/978-3-642-27207-3_6
Mendeley helps you to discover research relevant for your work.