Applying evolutionary approaches to data flow testing at unit level

2Citations
Citations of this article
12Readers
Mendeley users who have this article in their library.
Get full text

Abstract

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.

Cite

CITATION STYLE

APA

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

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free