Title :
A tool for data flow testing using evolutionary approaches (ETODF)
Author :
Khan, Shoab Ahmed ; Nadeem, Aamer
Author_Institution :
Dept. of Comput. Sci., Mohammad Ali Jinnah Univ., Islamabad, Pakistan
Abstract :
Software testing is one of the most important phases of software development lifecycle. Software testing can be categorized into two major types; white box testing and black box testing. Data flow testing is a white box testing technique that uses both flow of control and flow of data through the program for testing. Evolutionary testing selects and generates test data by applying optimizing search techniques. This paper discusses the architecture and implementation of an automated tool for data flow testing by applying genetic algorithm for the automatic generation of test paths for data flow testing based on selected criteria for data flow testing. Our tool generates random initial population of test paths and then based on the selected data flow testing criteria new paths are generated by applying a genetic algorithm. A fitness function in tool 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 paths based on fitness value. The proposed research tool called ETODF is continuation of our previous research work [6] on data flow testing using evolutionary approaches. The tool ETODF (evolutionary testing of data flow) has been implemented in Java. In experiments with this tool, our implemented tool has much better results as compared to random testing.
Keywords :
genetic algorithms; program testing; ETODF tool; Java; black box testing; control flow; data flow; data flow testing; evolutionary approach; evolutionary testing of data flow; fitness function; fitness value; genetic algorithm; mutation operator; one point crossover operator; search techniques; software development lifecycle; software testing; test data generation; test data selection; white box testing; Flow graphs; Genetic algorithms; Semantics; Software; Software testing; TV; Crossover; Data Flow Testing; Evolutionary Algorithm; Mutation; Test Data;
Conference_Titel :
Emerging Technologies (ICET), 2013 IEEE 9th International Conference on
Conference_Location :
Islamabad
Print_ISBN :
978-1-4799-3456-0
DOI :
10.1109/ICET.2013.6743535