Automation of data flow class testing using hybrid evolutionary algorithms

被引:0
作者
Jain N. [1 ]
Porwal R. [2 ]
机构
[1] Department of Computer Application, Faculty of System Sciences, Mewar University, Chittorgarh
[2] Department of Information Technology, Lal Bahadur Shastri Institute of Management, New Delhi
关键词
Automatic class testing; Control flow graph; Data flow testing; Genetic algorithm; Search-based testing; Test data generation;
D O I
10.2174/2213275912666190408105311
中图分类号
学科分类号
摘要
Background: Software testing is a time consuming and costly process. Recent advances in complexity of software have gained attention among researchers towards the automation of generation of test data. Objective: This paper focuses on the structural testing of object oriented paradigm based software and proposes a hybrid approach to automate the class testing applying heuristic algorithms. Methods: The proposed algorithm performs data flow testing of classes applying all defuses adequacy criteria by automatically generating test cases. A nested 2-step methodology is applied using meta-heuristic genetic algorithm and its two variant (GA-variant1 and Ga-variant2) to produce optimized method sequences. Results: An experiment is performed applying proposed algorithm on six test classes. The results suggest that proposed approach with GA-variant1 is better than other techniques in terms of Average d-u coverage and Average iterations. © 2021 Bentham Science Publishers.
引用
收藏
页码:317 / 330
页数:13
相关论文
共 33 条
[1]  
Pressman R. S., Software engineering: A practitioner's approach, (2010)
[2]  
Beizer B., Black-box testing: Techniques for functional testing of software and systems, (1995)
[3]  
Jiang S., Zhang Y., Yi D., Test data generation approach for basis path coverage, ACM SIGSOFT Software Engineering Notes, 37, 3, pp. 1-7, (2012)
[4]  
Girgis M. R., Ghiduk A. S., Abd-Elkawy E. H., Automatic generation of data flow test paths using a genetic algorithm, Int. J. Comp. App, 89, 12, pp. 29-36, (2014)
[5]  
Korel B., Automated software test data generation, IEEE Tran. Softw. Eng, 16, 8, pp. 870-879, (1990)
[6]  
Anand S., An orchestrated survey of methodologies for automated software test case generation, J. Sys. Software, 86, 8, pp. 1978-2001, (2013)
[7]  
McMinn P., Search-based software testing: Past, present and future, Softw. test., Verif. Valid. Work. (ICSTW), IEEE fourth international conference, pp. 153-163, (2011)
[8]  
McMinn P., Search_based software test data generation: A survey, Softw. Test., Verif. Reliab, 14, 2, pp. 105-156, (2004)
[9]  
Harman M., Jones B. F., Search-based software engineering, Info. Softw. Tech, 43, 14, pp. 833-839, (2001)
[10]  
Ghiduk A.S., Testing the Object-Oriented Programs Using a Multi- Stage Genetic Algorithm, Computer Science and its Applications, 2nd International Conference, pp. 1-6, (2009)