Automated Regression Test Suite Optimization Based on Heuristics

Dhanyamraju S U M Prasad, Simy Chacko, Satya Sai Prakash Kanakadandi, Gopi Krishna Durbhaka
2014 2014 4th International Conference on Artificial Intelligence with Applications in Engineering and Technology  
In the Software Development Life Cycle, Testing is an integral and important phase. It is estimated that close to 45% of project cost is marked for testing. Defect removal efficiency is directly proportional to the rigor of the testing and number of test cycles. Given this prelude, important optimization dual is to reduce the testing time and cost without compromising on the quality and coverage. We revisit this popular research and industry sought problem, in the historical data perspective.
more » ... oposed model has two steps. N Test cases based on multiple heuristics are recommended as part of first step. These heuristics can be derived based on test manager, test lead and/or test director requirements as inputs. The N test cases that are to be recommended will be derived upon executing evolutionary randomized algorithms such as Random Forest / Genetic Algorithm. These algorithms fed with historically derived inputs such as test case execution frequency, test case failure pattern, change feature pattern and bug fixes & associations. The recommended test suite is further optimized based on a 2 dimensional approach during second step. Test case specific vertical constraints such as distribution of environments, distribution of features as well as test suite composition parameters such as golden test cases, sanity test cases, that serves as horizontal constraints.
doi:10.1109/icaiet.2014.18 fatcat:hcgk53muebggvmafkserhgxsoe