Title :
Improving Multi-Objective Test Case Selection by Injecting Diversity in Genetic Algorithms
Author :
Panichella, Annibale ; Oliveto, Rocco ; Di Penta, Massimiliano ; De Lucia, Andrea
Author_Institution :
Dept. of Math. & Comput. Sci., Univ. of Salerno, Salerno, Italy
Abstract :
A way to reduce the cost of regression testing consists of selecting or prioritizing subsets of test cases from a test suite according to some criteria. Besides greedy algorithms, cost cognizant additional greedy algorithms, multi-objective optimization algorithms, and multi-objective genetic algorithms (MOGAs), have also been proposed to tackle this problem. However, previous studies have shown that there is no clear winner between greedy and MOGAs, and that their combination does not necessarily produce better results. In this paper we show that the optimality of MOGAs can be significantly improved by diversifying the solutions (sub-sets of the test suite) generated during the search process. Specifically, we introduce a new MOGA, coined as DIversity based Genetic Algorithm (DIV-GA), based on the mechanisms of orthogonal design and orthogonal evolution that increase diversity by injecting new orthogonal individuals during the search process. Results of an empirical study conducted on eleven programs show that DIV-GA outperforms both greedy algorithms and the traditional MOGAs from the optimality point of view. Moreover, the solutions (sub-sets of the test suite) provided by DIV-GA are able to detect more faults than the other algorithms, while keeping the same test execution cost.
Keywords :
genetic algorithms; greedy algorithms; program testing; search problems; DIV-GA; MOGA optimality improvement; diversity-based genetic algorithm; empirical analysis; greedy algorithms; multiobjective genetic algorithms; multiobjective optimization algorithms; multiobjective test case selection improvement; orthogonal design mechanism; orthogonal evolution mechanism; regression testing cost reduction; search process; test case subset prioritization; test case subset selection; test suite subsets; Genetic algorithms; Genetics; Greedy algorithms; Linear programming; Optimization; Sociology; Testing; Empirical Studies; Genetic Algorithms; Orthogonal Design; Regression Testing; Singular Value Decomposition; Test Case Selection; Test case selection; empirical studies; genetic algorithms; orthogonal design; regression testing; singular value decomposition;
Journal_Title :
Software Engineering, IEEE Transactions on
DOI :
10.1109/TSE.2014.2364175